EvalError : Error
Return to: JavaScript Core index

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

Platform Support

IE Mozilla Netscape Opera Chrome Safari
5.0+ 1.0+ 6.0+ no no no

Constructors

Constructor Action IE Mozilla Netscape Opera Chrome Safari
EvalError Constructor([String message]) : EvalError
Creates a new instance of EvalError.
Show Details 5.0+ 1.0+ 6.0+ no no no

EvalError([String message]) : EvalError

Creates a new instance of EvalError.

Parameters
String message (optional)An error message associated with the EvalError object.

Returns
EvalError

Properties

Property Action IE Mozilla Netscape Opera Chrome Safari
message : String
An error message associated with the EvalError object.
No Details
name : String
Name of the EvalError object.
No Details 5.0+ 1.0+ 6.0+ no no no

References

Error|Error.message|Error.name

Availability

JavaScript 1.5|JScript 5.5|ECMAScript v3

text_javascript aptana_docs