Class ReferenceError

Represents a reference error.

ConstructorDescription
ReferenceError()Constructs the error.
ReferenceError(String)Constructs the error with the specified message.

captureStackTrace, toString

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

ReferenceError()

Constructs the error.


ReferenceError(msg: String)

Constructs the error with the specified message.

Parameters:

  • msg - the reference error message.