Basics on JavaScript related Questions and Answers - Page 3

Question 21 : What kind of scoping does JavaScript use?
1. Literal
2. Lexical
3. Segmental
4. Sequential
View Answer   Discuss with Members

Question 22 : Assume that we have to convert 'false' that is a non-string to string. The command that we use is (without invoking the 'new' operator)
1. false.toString()
2. String(false)
3. String newvariable='false'
4. Both false.toString() and String(false)
View Answer   Discuss with Members

Question 24 : Which of the following are examples of closures?
1. Objects
2. Variables
3. Functions
4. All of the mentioned
View Answer   Discuss with Members

Question 25 : What will happen if a return statement does not have an associated expression?
1. It returns the value 0
2. It will throw an exception
3. It returns the undefined value
4. It will throw an error
View Answer   Discuss with Members

Question 28 : The 'var' and 'function' are __________
1. Keywords
2. Declaration statements
3. Data types
4. Prototypes
View Answer   Discuss with Members

Question 30 : A linkage of series of prototype objects is called as ________
1. prototype stack
2. prototype chain
3. prototype class
4. prototypes
View Answer   Discuss with Members


View 21 - 30 of 59 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter