@@ -22402,20 +22402,20 @@ <h1>
2240222402 1. Let _status_ be Completion(InitializeReferencedBinding(_lhsRef_, _nextValue_)).
2240322403 1. If _status_ is an abrupt completion, then
2240422404 1. Set the running execution context's LexicalEnvironment to _oldEnv_.
22405- 1. If _iteratorKind_ is ~async~, return ? AsyncIteratorClose(_iteratorRecord_, _status_).
2240622405 1. If _iterationKind_ is ~enumerate~, then
2240722406 1. Return ? _status_.
2240822407 1. Else,
2240922408 1. Assert: _iterationKind_ is ~iterate~.
22409+ 1. If _iteratorKind_ is ~async~, return ? AsyncIteratorClose(_iteratorRecord_, _status_).
2241022410 1. Return ? IteratorClose(_iteratorRecord_, _status_).
2241122411 1. Let _result_ be Completion(Evaluation of _stmt_).
2241222412 1. Set the running execution context's LexicalEnvironment to _oldEnv_.
2241322413 1. If LoopContinues(_result_, _labelSet_) is *false*, then
22414+ 1. Set _status_ to Completion(UpdateEmpty(_result_, _V_)).
2241422415 1. If _iterationKind_ is ~enumerate~, then
22415- 1. Return ? UpdateEmpty(_result_, _V_) .
22416+ 1. Return ? _status_ .
2241622417 1. Else,
2241722418 1. Assert: _iterationKind_ is ~iterate~.
22418- 1. Set _status_ to Completion(UpdateEmpty(_result_, _V_)).
2241922419 1. If _iteratorKind_ is ~async~, return ? AsyncIteratorClose(_iteratorRecord_, _status_).
2242022420 1. Return ? IteratorClose(_iteratorRecord_, _status_).
2242122421 1. If _result_.[[Value]] is not ~empty~, set _V_ to _result_.[[Value]].
0 commit comments