/** *

Summary

*

Represents an error regarding the eval function. *

*

Description

*

An EvalError is thrown when eval is used improperly. *

*

Properties

*
prototype *
Allows the addition of properties to an EvalError object. *
*

EvalError instances will inherit from EvalError.prototype. For a list of properties and methods inherited by EvalError instances, see EvalError.prototype. *

*

See also

* * * * * */ var EvalError = { // This is just a stub for a builtin native JavaScript object. /** *

Summary

*

Returns a reference to the object's constructor. *

*

Description

*

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. *

*

See also

* * * */ constructor: undefined, /** *

Summary

*

A name for the type of error. *

*

Description

*

By default, EvalError instances are given the name "EvalError". *

*

See also

* * * */ name: undefined, /** *

Summary

*

Represents the prototype for this class. *

* * * * * * * * * * * * *
Property of EvalError
Implemented in:JavaScript 1.1, NES 2.0
ECMA Version:ECMA-262
*

Description

*

All EvalError instances inherit from EvalError.prototype. You can use the prototype to add properties or methods to all instances. *

*

Properties

*
constructor *
Specifies the function that created an instance's prototype. *
*
name *
Error name. *
*
Although ECMA-262 specifies that EvalError should provide its own message property, in SpiderMonkey, it inherits Error.prototype.message.
*

See also

* * * */ prototype: undefined, };