Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

JavaScript Interview Questions and Answers

Ques 1. What's relationship between JavaScript and ECMAScript?

Ans. ECMAScript is yet another name for JavaScript (other names include LiveScript). The current JavaScript that you see supported in browsers is ECMAScript revision 3.

Is it helpful? Add Comment View Comments
Ques 2. What are JavaScript types?
Ans. Number, String, Boolean, Function, Object, Null, Undefined.
Is it helpful? Add Comment View Comments
Ques 3. How do you convert numbers between different bases in JavaScript?
Ans. 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);
Is it helpful? Add Comment View Comments
Ques 4. What does isNaN function do?
Ans. Return true if the argument is not a number.
Is it helpful? Add Comment View Comments
Ques 5. What is negative infinity?
Ans. It's a number in JavaScript, derived by dividing negative number by zero.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook