JavaScript | Error Handling and Debugging | Question 6

Last Updated :
Discuss
Comments

What happens if there is no catch block for a thrown error?

The program continues execution

The error is ignored

The program crashes or stops execution

A warning is displayed in the console

Share your thoughts in the comments