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


Please Help Members By Posting Answers For Below Questions

List out the different ways an HTML element can be accessed in a Javascript code?

716


What is nodetype in javascript?

477


What is the difference between innerhtml & innertext?

472


What is variable typing in javascript?

527


Explain typecasting in javascript?

477






How many types of functions are there in javascript?

440


Is it safe to use javascript?

487


Is javascript array dynamic?

477


What is the use of 'bind' method in JavaScript?

544


Why is javascript called richer interface?

491


Why javascript is dangerous?

464


What are exports & imports?

469


Is javascript free to use?

484


What is enum in javascript?

590


Where do I put javascript code in html?

495