| Availability: |
| ||||
| Inherits from: | Error object | ||||
| JavaScript syntax: | N | myError = new SyntaxError() | |||
| N | myError = new SyntaxError(aNumber) | ||||
| N | myError = new SyntaxError(aNumber, aText) | ||||
| Argument list: | aNumber | An error number | |||
| aText | A text describing the error | ||||
This subclass of the Error object is used when an exception is caused by a script source text parsing error.
| Prev | Home | Next |
| synchronized | Up | T |
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. | ||