JavaScript | Error Handling and Debugging | Question 3

Last Updated :
Discuss
Comments

What is the Error object used for?

To create custom error messages

To debug code by printing logs

To represent runtime errors in JavaScript

To pause code execution

Share your thoughts in the comments