Skip to content

Commit

Permalink
Editorial: tweak unwrapping of some normal completions (#3273)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored and ljharb committed Jan 31, 2024
1 parent 6d7aa1b commit 94bf7d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -7061,7 +7061,7 @@ <h1>IfAbruptCloseIterator ( _value_, _iteratorRecord_ )</h1>
<emu-alg>
1. Assert: _value_ is a Completion Record.
1. If _value_ is an abrupt completion, return ? IteratorClose(_iteratorRecord_, _value_).
1. Else, set _value_ to _value_.[[Value]].
1. Else, set _value_ to ! _value_.
</emu-alg>
</emu-clause>

Expand Down Expand Up @@ -24974,7 +24974,7 @@ <h1>
1. Set the running execution context's LexicalEnvironment to _env_.
1. Set the running execution context's PrivateEnvironment to _outerPrivateEnvironment_.
1. Return ? _element_.
1. Set _element_ to _element_.[[Value]].
1. Set _element_ to ! _element_.
1. If _element_ is a PrivateElement, then
1. Assert: _element_.[[Kind]] is either ~method~ or ~accessor~.
1. If IsStatic of _e_ is *false*, let _container_ be _instancePrivateMethods_.
Expand Down Expand Up @@ -46189,7 +46189,7 @@ <h1>IfAbruptRejectPromise ( _value_, _capability_ )</h1>
1. Perform ? Call(_capability_.[[Reject]], *undefined*, « _value_.[[Value]] »).
1. Return _capability_.[[Promise]].
1. Else,
1. Set _value_ to _value_.[[Value]].
1. Set _value_ to ! _value_.
</emu-alg>
</emu-clause>
</emu-clause>
Expand Down

0 comments on commit 94bf7d5

Please sign in to comment.