P. 1
Ecma-262

Ecma-262

5.0

|Views: 18|Likes:
Publicado porrubenstt
Fonte: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
Fonte: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf

More info:

Published by: rubenstt on Feb 24, 2008
Direitos Autorais:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/08/2014

pdf

text

original

Syntax

BreakStatement :

break [no LineTerminator here] Identifieropt ;

Semantics

A program is considered syntactically incorrect if either of the following are true:

• The program contains a break statement without the optional Identifier, which is not nested, directly
or indirectly (but not crossing function boundaries), within an IterationStatement or a SwitchStatement.
• The program contains a break statement with the optional Identifier, where Identifier does not appear
in the label set of an enclosing (but not crossing function boundaries) Statement.

A BreakStatement without an Identifier is evaluated as follows:

1. Return (break, empty, empty).

A BreakStatement with an Identifier is evaluated as follows:

1. Return (break, empty, Identifier).

You're Reading a Free Preview

Descarregar
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->