Q. Consider the following code snippet.
What could be the task of the statement debugger?
Code:
What could be the task of the statement debugger?
function fun(f)
{
if (f === undefined) debugger;
}
β
Correct Answer: (D)
It does nothing but a simple breakpoint