JavaScript Error Object Complete Reference Improve Improve Improve Like Article Like Save Article Save Share Report issue Report Error objects are arising at runtime errors. The error object also uses as the base object for the exceptions defined by the user. The complete list of JavaScript Error Object properties are listed below: Error types JavaScript RangeError – Invalid date JavaScript RangeError – Repeat count must be non-negative JavaScript ReferenceError – Can’t access lexical declaration`variable’ before initialization JavaScript ReferenceError – Invalid assignment left-hand side JavaScript ReferenceError – Assignment to undeclared variable JavaScript ReferenceError – Reference to undefined property “x” JavaScript ReferenceError – variable is not defined JavaScript ReferenceError Deprecated caller or arguments usage JavaScript SyntaxError – Illegal character JavaScript SyntaxError – Identifier starts immediately after numeric literal JavaScript SyntaxError – Function statement requires a name JavaScript SyntaxError – Missing } after function body JavaScript SyntaxError – Missing } after property list JavaScript SyntaxError – Missing variable name JavaScript SyntaxError – Missing ] after element list JavaScript SyntaxError – Invalid regular expression flag “x” JavaScript SyntaxError “variable” is a reserved identifier JavaScript SyntaxError – Missing ‘:’ after property id JavaScript SyntaxError – Missing ) after condition JavaScript SyntaxError – Missing formal parameter JavaScript SyntaxError – Missing ; before statement JavaScript SyntaxError – Missing = in const declaration JavaScript SyntaxError – Missing name after . operator JavaScript SyntaxError – Redeclaration of formal parameter “x” JavaScript SyntaxError – Missing ) after argument list JavaScript SyntaxError – Return not in function JavaScript SyntaxError: Unterminated string literal JavaScript SyntaxError – Applying the ‘delete’ operator to an unqualified name is deprecated JavaScript SyntaxError – Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead JavaScript SyntaxError – Malformed formal parameter JavaScript SyntaxError – “0”-prefixed octal literals and octal escape sequences are deprecated JavaScript SyntaxError – Test for equality (==) mistyped as assignment (=)? JavaScript SyntaxError – “x” is not a legal ECMA-262 octal constant JavaScript TypeError – “X” is not a non-null object JavaScript TypeError – “X” is not a constructor JavaScript TypeError – “X” has no properties JavaScript TypeError – “X” is (not) “Y” JavaScript TypeError – “X” is not a function JavaScript TypeError – ‘X’ is not iterable JavaScript TypeError – More arguments needed JavaScript TypeError – “X” is read-only JavaScript TypeError – Reduce of empty array with no initial value JavaScript TypeError – Can’t assign to property “X” on “Y”: not an object JavaScript TypeError – Can’t access property “X” of “Y” JavaScript TypeError – Can’t define property “X”: “Obj” is not extensible JavaScript TypeError – X.prototype.y called on incompatible type JavaScript TypeError – Invalid assignment to const “X” JavaScript TypeError – Property “X” is non-configurable and can’t be deleted JavaScript TypeError – Can’t redefine non-configurable property “x” JavaScript TypeError – Variable “x” redeclares argument JavaScript TypeError – Setting getter-only property “x” JavaScript TypeError – Invalid ‘instanceof’ operand ‘x’ JavaScript TypeError – Invalid Array.prototype.sort argument JavaScript TypeError – Cyclic object value JavaScript TypeError – Can’t delete non-configurable array element JavaScript URIError Malformed URI Sequence JavaScript Warning – Date.prototype.toLocaleFormat is deprecated JavaScript Logging Script Errors Instance properties JavaScript Error message Property JavaScript Error name Property Instance Methods JavaScript Error.prototype.toString() Method Last Updated : 23 May, 2023 Like Article Save Article Previous JavaScript TypeError - Can't assign to property "X" on "Y": not an object Next W3.CSS Lists Share your thoughts in the comments Add Your Comment Please Login to comment...