What is the purpose of a JavaScript debugger?

A Correction of errors
B Placing script execution under control
C Correction of errors & Placing script execution under control
D Compilation

Correct Answer: Placing script execution under control

A debugger is an application that places all aspects of script execution under the control of the programmer. Using the debugger statement has the same function as setting a breakpoint in the code. Debuggers provide fine-grained control over the state of the script through an interface that allows you to examine and set values as well as control the flow of execution.

Related Questions

Which of the following action is possible in Firebug when used as a JavaScript Debugger and Profiler?
What is the purpose of the event handlers in the JavaScript?
What is the purpose of the JavaScript Engine?
What is the purpose of minifying the JavaScript?
What is the purpose of the window.location object in JavaScript?
JavaScript is designed for following purpose

Next steps