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 double exclamation point?

0 Answers  


What is the difference of "settimeout" function and setinterval functions in javascript

0 Answers  


How to make elements invisible?

0 Answers  


hi i want validations for two dropdown lists in java script.when user enter to second dropdown list by skipping first dropdown list we should get alert box. please help me very urgent

2 Answers  


What is javascript hoisting?

0 Answers  


What does clean white space mean?

0 Answers  


What is lazy instantiation in java?

0 Answers  


Write about the errors shown in javascript?

0 Answers  


What does "1"+2+3 evaluate to?

0 Answers  


What is difference between local and global scope in javascript ?

0 Answers  


Why javascript is not secure?

0 Answers  


How to shift and unshift using javascript?

0 Answers  


Categories