JavaScript | Error Handling and Debugging | Question 2

Last Updated :
Discuss
Comments

Which statement is used to manually throw an error in JavaScript?

throw

raise

error

reject

Share your thoughts in the comments