Error class for parse errors.
This error is thrown when a parsing error occurs. ParseError is a subclass of SyntaxError.
This is in reference to the specification that the error thrown when a parse error occurs in the JSON.parse function is SyntaxError.
Optional
The position where the error occurred.
Static
Indicates whether the argument provided is a built-in Error instance or not.
Error class for parse errors.
Remarks
This error is thrown when a parsing error occurs. ParseError is a subclass of SyntaxError.
This is in reference to the specification that the error thrown when a parse error occurs in the JSON.parse function is SyntaxError.