A

Admin • 802.91K Points
Coach

Q. Consider the following code snippet.
What could be the task of the statement debugger?

Code:
function fun(f)
{
if (f === undefined) debugger;
}
  • (A) It is used to find error in the statement
  • (B) It is used as a keyword that debugs the entire program at once
  • (C) It debugs the error in that statement and restarts the statement’s execution
  • (D) It does nothing but a simple breakpoint
  • Correct Answer - Option(D)
  • Views: 5
  • Filed under category JavaScript
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.