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
List out the different ways an HTML element can be accessed in a Javascript code?
What is nodetype in javascript?
What is the difference between innerhtml & innertext?
What is variable typing in javascript?
Explain typecasting in javascript?
How many types of functions are there in javascript?
Is it safe to use javascript?
Is javascript array dynamic?
What is the use of 'bind' method in JavaScript?
Why is javascript called richer interface?
Why javascript is dangerous?
What are exports & imports?
Is javascript free to use?
What is enum in javascript?
Where do I put javascript code in html?