General Knowledge Questions and Answers - 1396
Questions and Answers
Prepare for Interview
How do you convert numbers between different bases in JavaScript?
Use the parseInt() function, that takes a string as the first parameter, and the base as a second parameter. So to convert hexadecimal 3F to decimal, use parseInt ("3F", 16);

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?
  • 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?
  • 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?
  • What is the difference between an alert box and a confirmation box?
  • Test your English Language
  • Comics of the Day
  • Cute Nail Art Designs
  • Ways To Save Money On Your Dream Wedding
  • 101 Home Makeover Ideas
  • Class 9 - Coordinate Geometry
  • Most Powerful Cities On Earth
  • Most Expensive Motorcycles
  • Major Wars Of 20th Century
  • Karva Chauth Fast
  • Famous Hill Station of India
  • Best Beaches
  • Memorable Mothers
  • Most Amazing Botanical Gardens
  • Best Valentines Day Projects
  • Loan Calculator
  • New Delhi City
  • Precautions while using Laboratory Thermometers
  • New Year Celebration Ideas
  • Darjeeling
  • Precautions while using Websites
  • Converted Homes Made From The Most Unlikely Spaces
  • loading...

    Did you Know :

    Invention : cat litter
    Year : 1947
    Inventor : edward lowe
    Country : us.
    More ...

    Shlok Consultants