24.80. EvalError: thrown when eval( ) is used improperlyECMAScript v3: Object Error EvalError24.80.1. Constructornew EvalError( ) new EvalError(message) 24.80.1.1. Arguments
24.80.1.2. ReturnsA newly constructed EvalError object. If the message argument is specified, the Error object uses it as the value of its message property; otherwise, it uses an implementation-defined default string as the value of that property. When the EvalError( ) constructor is called as a function without the new operator, it behaves just as it does when called with the new operator. 24.80.2. Properties
24.80.3. DescriptionAn instance of the EvalError class may be thrown when the global function eval( ) is invoked under any other name. See eval( ) for an explanation of the restrictions on how this function may be invoked. See Error for details about throwing and catching exceptions. 24.80.4. See AlsoError, Error.message, Error.name |