1.

How do we debug a script?(a) Use of JavaScript Validator(b) Use of JavaScript Debugger(c) Use of JavaScript Validator & Debugger(d) Use of javascript interpreterI had been asked this question in an interview for internship.Question is taken from Forms of Debugging topic in section Caching, Debugging and Animation of JavaScript

Answer»

The correct answer is (c) Use of JAVASCRIPT Validator & Debugger

Explanation: Both the JavaScript Validator and the JavaScript Debugger can be used to debug a script. The debugger STATEMENT stops the execution of JavaScript, and calls (if AVAILABLE) the debugging FUNCTION.



Discussion

No Comment Found

Related InterviewSolutions