How to define custom JavaScript exceptions?
Answers
Answered by
0
The technical term for this is: JavaScript will throw an exception (throw an error). JavaScript will actually create an Error object with two properties: name and message.
Similar questions