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
Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

JavaScript Interview Questions and Answers

Ques 6. What boolean operators does JavaScript support?

Ans. &&, || and !

Is it helpful? Add Comment View Comments
Ques 7. What does "1"+2+4 evaluate to?
Ans. Since 1 is a string, everything is a string, so the result is 124.
Is it helpful? Add Comment View Comments
Ques 8. How about 2+5+"8"?
Ans. Since 2 and 5 are integers, this is number arithmetic, since 8 is a string, it's concatenation, so 78 is the result.
Is it helpful? Add Comment View Comments
Ques 9. What looping structures are there in JavaScript?
Ans. for, while, do-while loops, but no foreach.
Is it helpful? Add Comment View Comments
Ques 10. How do you create a new object in JavaScript?
Ans. var obj = new Object(); or var obj = {};
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2015 WithoutBook