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

What is the difference between the substr() and substring() functions in javascript?

0 Answers  


what is a difference of subclass and main class

0 Answers  


What is dhtml in javascript?

0 Answers  


What's the Difference Between Class and Prototypal Inheritance?

0 Answers  


What are trailing whitespace?

0 Answers  






How to write a function in javascript?

0 Answers  


What is a named function in JavaScript? How to define a named function?

0 Answers  


What is enum size?

0 Answers  


Explain hoisting in javascript?

0 Answers  


What is the difference between the operators ‘==‘ & ‘===‘?

0 Answers  


What is createtextnode?

0 Answers  


What is difference between var x =1; and x=1;?

0 Answers  


Categories