/** *
Represents an error regarding the eval function. *
*An EvalError is thrown when eval
is used improperly.
*
EvalError
instances will inherit from EvalError.prototype
. For a list of properties and methods inherited by EvalError
instances, see EvalError.prototype.
*
Returns a reference to the object's constructor. *
*Returns a reference to the EvalError function that created the instance's prototype. The value of this property is a reference to the function itself, not a string containing the function's name. If this is desired, use the name property or the non-standard Function.prototype.name property. *
Note that both an instance's constructor
and name
properties can be modified.
*
A name for the type of error. *
*By default, EvalError instances are given the name "EvalError". *
*Represents the prototype for this class. *
*Property of EvalError | *|
Implemented in: | *JavaScript 1.1, NES 2.0 | *
ECMA Version: | *ECMA-262 | *
All EvalError instances inherit from EvalError.prototype
. You can use the prototype to add properties or methods to all instances.
*
message
property, in SpiderMonkey, it inherits Error.prototype.message.