This keyword suggests that future versions of JavaScript may support the goto statement which will unconditionally go to a labelled portion of script source text. This also suggests that labels will need to be supported as well.
ECMA edition 3 already mandates that case and default labels are supported for the benefit of the switch() statement.
The ECMA standard notes that although it is reserved future use, an implementation is still compliant if it provides the appropriate functionality of these reserved keywords.
See also: | Jump statement, Label, Reserved word, Reserved Word |
Prev | Home | Next |
Gotcha | Up | Gradient() |
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. |