Skip to content

Commit

Permalink
Fix LabelledEvaluation of LabelledStatement
Browse files Browse the repository at this point in the history
  • Loading branch information
hyp3rflow committed Sep 6, 2023
1 parent b12a244 commit 8fb1a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -22668,8 +22668,8 @@ <h1>
1. Let _label_ be the StringValue of |LabelIdentifier|.
1. Let _newLabelSet_ be the list-concatenation of _labelSet_ and « _label_ ».
1. Let _stmtResult_ be Completion(LabelledEvaluation of |LabelledItem| with argument _newLabelSet_).
1. If _stmtResult_.[[Type]] is ~break~ and SameValue(_stmtResult_.[[Target]], _label_) is *true*, then
1. Set _stmtResult_ to NormalCompletion(_stmtResult_.[[Value]]).
1. If _stmtResult_.[[Type]] is ~break~ and _stmtResult_.[[Target]] is _label_, then
1. Set _stmtResult_ to NormalCompletion(_stmtResult_.[[Value]]).
1. Return ? _stmtResult_.
</emu-alg>
<emu-grammar>LabelledItem : FunctionDeclaration</emu-grammar>
Expand Down

0 comments on commit 8fb1a3c

Please sign in to comment.