Availability: |
| ||||
Inherits from: | Error object | ||||
JavaScript syntax: | N | myError = new EvalError() | |||
N | myError = new EvalError(aNumber) | ||||
N | myError = new EvalError(aNumber, aText) | ||||
Argument list: | aNumber | An error number | |||
aText | A text describing the error |
This sub-class of the Error object is used when an exception is caused by using the global eval() function incorrectly.
Prev | Home | Next |
eval() | Up | Event-driven model |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |