Parsing and Logging on JavaScript related Questions and Answers - Page 2

Question 11 : The lexical scooping in JavaScript is based on which of the following?
1. Segments
2. Blocks
3. Functions
4. Entire code
View Answer   Discuss with Members

Question 12 : How can you dispatch a synthetic event object?
1. dispatchEvent()
2. dispatch()
3. dispatch(Event)
4. eventdispatch()
View Answer   Discuss with Members

Question 13 : What kind of an exception will be thrown if the string to parse is not valid JSON?
1. SyntaxError
2. ArrayOutOfBoundException
3. Both SyntaxError and ArrayOutOfBoundException
4. Compilation error
View Answer   Discuss with Members

Question 14 : What will happen if the radix parameter of the parseInt() function is omitted?
1. Runs in assumption
2. Throws exception
3. Aborts
4. Taken as 0
View Answer   Discuss with Members

Question 15 : How can you create a node for comment in JavaScript?
1. comment()
2. createComment()
3. comm()
4. create()
View Answer   Discuss with Members

Question 16 : Which of the following are JavaScript logging library?
1. log
2. loglevel
3. leveljavascript
4. jslogjava
View Answer   Discuss with Members

Question 17 : Which of the following is a JavaScript Compressor?
1. Esprima
2. UgilifyJS
3. Acron
4. Compressify
View Answer   Discuss with Members

Question 18 : What is the method used to stop an execution of a method?
1. clearInterval()
2. clearTimeout()
3. both clearInterval() and clearTimeout()
4. clearmethod()
View Answer   Discuss with Members

Question 19 : What is the purpose of the parameter $name ?
1. Document Name
2. Input Name
3. Output Name
4. ID
View Answer   Discuss with Members


View 11 - 20 of 69 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