What will be the output of the code below?
var Y = 1;
if (function F(){})
{
y += Typeof F;</span>
}
console.log(y);



What will be the output of the code below? var Y = 1; if (function F(){}) { y += Typeof F;</s..

Answer / hrpatelsoft@gmail.com

The output would be 1undefined.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

How to create a function using function constructor?

0 Answers  


how can count show data in grid view using java script

0 Answers  


Why do you need javascript?

0 Answers  


How do functions work in javascript?

0 Answers  


What is difference between scripting and programming?

0 Answers  






What are undefined and undeclared variables?

0 Answers  


What is the difference between firstChild and firstElementChild?

0 Answers  


What is prototype in javascript and how do you use it?

0 Answers  


How to write a function in javascript?

0 Answers  


Which javascript framework is in demand?

0 Answers  


Are javascript variables case sensitive?

0 Answers  


How are javascript and ecma script related?

0 Answers  


Categories