Q. Consider the following piece of JavaScript code:
What is the role of the "debugger" statement?
Code:
<script>
function fun(0){
if(0===undefined)
debugger;
}
</script>
β
Correct Answer: (C)
It will do nothing, although it is a breakpoint