What are Different Error Types in Javascript ?

Below are primary error types in javascript...

SyntaxError : Raised when syntax error occurs while parsing the Javascript code.

RangeError : Raised when numeric value exceeds allowed range.

EvalError : Raised when the eval() function is used in an incorrect manner.

ReferenceError : Raised when an invalid reference is used.

TypeError : Raised when type of variable is not as expected.

URIError : Raised when the encodeURI() or decodeURI() functions are used in an inaccurate manner.

InternalError : Raised when internal error in the javascript engine is thrown.



You May Interest

Javascript Removing Elements from Array

What are Advantages of Using External Javascript ?

JavaScript Using For Loop

What is Window Object in Javascript ?

What are Different Javascript Frameworks ?