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 some design patterns in javascript?

477


How to create an input box?

540


What is the javascript function?

532


What is event target in javascript?

479


How would you compare two objects in JavaScript?

558






What are the data types available in javascript? Explain

485


What is difference between local variable and global?

474


How do you disable javascript?

463


What is an object in javascript, give an example?

521


What is javascript? List some data types supported by javascript?

523


What does the following statement declares?

492


What is the difference between push() and concat() in javascript?

526


Write a Program using Servlet and JDBC for developing online application for displaying the details of Cars owned by the residents in XYZ society. Make necessary assumptions and create appropriate databases

1839


hi i want validations for two drop down lists. when user enter to second list by skipping first list alert box should appear. drop down validation Please choose an item from the drop down menu:

Choose a username:
Choose a username:
please any body help me thanks

1719


how can i change colour of a image in aspx file?

1544