EvalError : Error

The EvalError is thrown when the eval method is used incorrectly.

Browser/User Agent Support

IEMozillaNetscapeOperaSafari
5.0+1.0+6.0+nono

Constructors

ConstructorIEMozillaNetscapeOperaSafari
Creates a new instance of EvalError.
5.0+1.0+6.0+nono
 

Properties

PropertyIEMozillaNetscapeOperaSafari
An error message associated with the EvalError object.
 
Name of the EvalError object.
5.0+1.0+6.0+nono
 

References

Error | Error.message | Error.name

Availability

JavaScript 1.5 | JScript 5.5 | ECMAScript v3

Constructor Detail

EvalError EvalError([String message])

Creates a new instance of EvalError.

StringmessageAn error message associated with the EvalError object. (optional)

Property Detail

String message

An error message associated with the EvalError object.

String name

Name of the EvalError object.