There are 6 different types of error names returned from error object,
Error Name | Description |
---|---|
EvalError | An error has occurred in the eval() function |
RangeError | An error has occurred with a number “out of range” |
ReferenceError | An error due to an illegal reference |
SyntaxError | An error due to a syntax error |
TypeError | An error due to a type error |
URIError | An error due to encodeURI() |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.