Skip to content
JS
Errors

JavaScript errors

TypeError, ReferenceError, SyntaxError and RangeError in any runtime.

131 entries0 written pages
Showing 51 to 100 of 131Source: MDN Web Docs
CodeError
SyntaxErrorinvalid character in class in regular expression
SyntaxErrorinvalid class set operation in regular expression
SyntaxErrorinvalid decimal escape in regular expression
SyntaxErrorinvalid identity escape in regular expression
SyntaxErrorinvalid named capture reference in regular expression
SyntaxErrorinvalid property name in regular expression
SyntaxErrorinvalid range in character class
SyntaxErrorinvalid regexp group
SyntaxErrorinvalid regular expression flag "x"
SyntaxErrorinvalid unicode escape in regular expression
SyntaxErrorlabel not found
SyntaxErrormissing ) after argument list
SyntaxErrormissing ) after condition
SyntaxErrormissing : after property id
SyntaxErrormissing = in const declaration
SyntaxErrormissing ] after element list
SyntaxErrormissing formal parameter
SyntaxErrormissing name after . operator
SyntaxErrormissing variable name
SyntaxErrormissing } after function body
SyntaxErrormissing } after property list
SyntaxErrornegated character class with strings in regular expression
SyntaxErrornew keyword cannot be used with an optional chain
SyntaxErrornothing to repeat
SyntaxErrornumbers out of order in {} quantifier.
SyntaxErroroctal escape sequences can't be used in untagged template literals or in strict mode code
SyntaxErrorparameter after rest parameter
SyntaxErrorprivate fields can't be deleted
SyntaxErrorproperty name __proto__ appears more than once in object literal
SyntaxErrorraw bracket is not allowed in regular expression with unicode flag
SyntaxErrorredeclaration of formal parameter "x"
SyntaxErrorreference to undeclared private field or method #x
SyntaxErrorrest parameter may not have a default
SyntaxErrorreturn not in function
SyntaxErrorsetter functions must have one argument
SyntaxErrorstring literal contains an unescaped line break
SyntaxErrorsuper() is only valid in derived class constructors
SyntaxErrortagged template cannot be used with optional chain
SyntaxErrorunlabeled break must be inside loop or switch
SyntaxErrorunparenthesized unary expression can't appear on the left-hand side of '**'
SyntaxErroruse of super property/member accesses only valid within methods or eval code within methods
TypeError"x" is (not) "y"
TypeError"x" is not a constructor
TypeError"x" is not a function
TypeError"x" is not a non-null object
TypeError"x" is read-only
TypeError'caller', 'callee', and 'arguments' properties may not be accessed
TypeError'x' is not iterable
TypeErrorBigInt value can't be serialized in JSON
TypeErrorInitializing an object twice is an error with private fields/methods

Other families: Node.js, npm, React, Next.js, TypeScript, Vite, webpack, Jest