Availability: |
| ||||
Inherits from: | Error object | ||||
JavaScript syntax: | N | myError = new ReferenceError() | |||
N | myError = new ReferenceError(aNumber) | ||||
N | myError = new ReferenceError(aNumber, aText) | ||||
Argument list: | aNumber | An error number | |||
aText | Text describing the error |
This sub-class of the Error object is used when an exception is caused by an incorrect reference being made to an object.
Prev | Home | Next |
Reference counting | Up | Regex |
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. |