-
Which of the following keyword stops the execution of JavaScript?
-
- return
- try….catch
- break
- debugger
- None of these
Correct Option: B
By using debugger keyword execution of JavaScript stops, and is debugger function is defined it is called at the moment, break is the keyword used to terminate a loop or a switch, return is used for exit from a function, try…catch handle the errors.