Home » HTML » Html miscellaneous » Question
  1. Which of the following keyword stops the execution of JavaScript?
    1. return
    2. try….catch
    3. break
    4. debugger
    5. 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.



Your comments will be displayed only after manual approval.