What will be the output of the code below?
var Y = 1;
if (function F(){})
{
y += Typeof F;</span>
}
console.log(y);
Answer Posted / hrpatelsoft@gmail.com
The output would be 1undefined.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the main features of javascript?
What are the data types available in javascript? Explain
Is javascript necessary for web development?
How many types of variables are there in javascript?
How to add new elements dynamically?
What do you use javascript for?
How to create the namespace in javascript?
Enumerate the differences between Java and JavaScript?
How to clone an object in javascript?
List some unit testing frameworks javascript
Why javascript is so popular?
What are escape characters in javascript?
What is the difference between innerhtml and append() in javascript?
What does the term sticky session mean in a web-farm scenario? Why would you use a sticky session? What is the potential disadvantage of using a sticky session?
Mention what is the disadvantage of using innerhtml in javascript?