14.9 The break
Statement
Syntax
BreakStatement[Yield, Await] :
break
;
break
[no LineTerminator here]
LabelIdentifier[?Yield, ?Await]
;
14.9.1 Static Semantics: Early Errors
BreakStatement :
break
;
14.9.2 Runtime Semantics: Evaluation
BreakStatement :
break
;
- Return Completion Record { [[Type]]: break, [[Value]]: empty, [[Target]]: empty }.
BreakStatement :
break
LabelIdentifier
;
- Let label be the StringValue of LabelIdentifier.
- Return Completion Record { [[Type]]: break, [[Value]]: empty, [[Target]]: label }.