Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is the purpose of local variables?

894


How do you declare a variable in javascript?

861


How can you create an Array in JavaScript?

974


What does polyfill mean?

844


What are the pop-up boxes available in javascript?

912


How do you declare javascript?

910


How to hide javascript code from old browsers that dont run it?

958


What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }

3282


What is the difference between innerHTML and innerText?

949


What is the difference between local storage & session storage?

852


How about 3+5+"8"?

940


Which built-in method returns the string representation of the number’s value?

1087


What is namespacing in javascript and how is it used?

880


What is the difference between test () and exec () methods?

1062


What does the term sticky session mean in a web-farm scenario?

919