General Knowledge Questions and Answers - 1379
Questions and Answers
Prepare for Interview
Consider the following statements and tell what would be the output of the logs statements? var price1 = 10; var price2 = 10; var price3 = new Number('10'); // A complex numeric object because new was used. console.log(price1 === price2); console.log(pri
console.log(price1 === price2); // Logs true. console.log(price1 === price3); /* Logs false because price3 contains a complex number object and price 1 is a primitive value. */

More Questions :
  • How do you convert numbers between different bases in JavaScript?
  • What are the boolean operators supported by JavaScript?
  • unescape(), escape()
  • How is JavaScript different from Java?
  • 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?
  • What is the difference between a web-garden and a web-farm?
  • Name the numeric constants representing max,min values
  • What does javascript null mean?
  • How to make a array as a stack using JavaScript?
  • 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 do you submit a form using Javascript?
  • How to detect the operating system on the client machine?
  • How to create arrays in JavaScript?
  • What does "1"+2+4 evaluate to?
  • How to determine the state of a checkbox using Javascript?
  • Test your English Language
  • Comics of the Day
  • Accessories For Savvy Travelers
  • Precautions while using X Rays
  • Future Value for Single Payment
  • GK Indian Geography
  • Hyderabad
  • Best Flirting Tips
  • Valentines Day Crafts
  • Simple Tips To Living Longer
  • Myth about Addiction
  • Beautiful Christmas Markets
  • Class 8 - Reaching the Age of Adolescence
  • Salaries of WWE Superstars
  • Digital Marketing Trends
  • Oslo City
  • Strangest Prehistoric Creatures To Rule The Earth
  • Modern Science And Technologies
  • GK World Geography
  • Precautions while using Websites
  • Xmas Celebration Ideas
  • Jogging Tips and Guidelines
  • loading...

    Did you Know :

    There was once a fish caught in Delaware Bay with a watch still ticking inside
    More ...

    Shlok Consultants