shlok.mobi
General Knowledge Questions and Answers - 1415
javascript
Questions and Answers
Prepare for Interview
Question:
What does "1"+2+4 evaluate to?
Answer:
Since 1 is a string, everything is a string, so the result is 124.


More Questions :
  • How do you convert numbers between different bases in JavaScript?
  • unescape(), escape()
  • What are the boolean operators supported by JavaScript?
  • How is JavaScript different from Java?
  • decodeURI(), encodeURI()
  • What does isNaN function do?
  • What does 3+4+"7" evaluate to?
  • What looping structures are there in JavaScript?
  • What would be the output of the following statements?
    var object1 = { same: 'same' };
    var object2 = { same: 'same' };
    console.log(object1 === object2);
  • What is this? var myArray = [[[]]];
  • How to detect the operating system on the client machine?
  • How can JavaScript be used to improve the "look and feel" of a Web site? By the same token, how can JavaScript be used to improve the user interface?
  • How to create arrays in JavaScript?
  • What is the difference between a web-garden and a web-farm?
  • How to determine the state of a checkbox using Javascript?
  • How about 2+5+"8"?
  • What is the difference between SessionState and ViewState?
  • What does the EnableViewStateMac setting in an aspx page do?
  • Name the numeric constants representing max,min values
  • What does javascript null mean?
  • Test your English Language
  • Comics of the Day
  • Terrifying Rulers Of The Underworld
  • Ways To Reduce Your Carbon Footprint
  • Facts about Plant
  • Best Shopping Malls of India
  • Strangest New Years Traditions
  • The Best Fall Shoes
  • Class 8 - Sound
  • Country And Continent - Quiz
  • Myth About Animal
  • How to Remove Dark Circles Tips
  • Crazy Facts About The Universe
  • Tom Cruise
  • Celebration of krishna Janmashtami
  • Weird Ghost Stories
  • Most Stylish Airports In The World
  • New Delhi City
  • Emperor Ashoka
  • The Most Stylish Men Ever
  • The Best bits of Brazil
  • Most Beautiful Mosques In The World
  • loading...

    Did you Know :

    The world's smallest winged insect, the Tanzanian parasitic wasp, is smaller than the eye of a housefly.
    More ...

    Shlok Consultants