Skip to content

Commit

Permalink
fix editorial issues
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Sep 23, 2024
1 parent 5e70625 commit 76e8f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ copyright: false
1. NOTE: Once a generator enters the completed state it never leaves it and its associated execution context is never resumed. Any execution state associated with _O_ can be discarded at this point.
1. <del>Perform ? IteratorClose(_O_.[[UnderlyingIterator]], ReturnCompletion(*undefined*)).</del>
1. <ins>Perform ? IteratorCloseAll(_O_.[[UnderlyingIterators]], ReturnCompletion(*undefined*)).</ins>
1. Return CreateIterResultObject(*undefined*, *true*).
1. Return CreateIteratorResultObject(*undefined*, *true*).
1. Let _C_ be Completion { [[Type]]: ~return~, [[Value]]: *undefined*, [[Target]]: ~empty~ }.
1. Return ? GeneratorResumeAbrupt(_O_, _C_, *"Iterator Helper"*).
</emu-alg>
Expand Down Expand Up @@ -252,7 +252,7 @@ copyright: false
<emu-alg>
1. If _options_ is *undefined*, then
1. Return OrdinaryObjectCreate(*null*).
1. If Type(_options_) is Object, then
1. If _options_ is an Object, then
1. Return _options_.
1. Throw a *TypeError* exception.
</emu-alg>
Expand Down

0 comments on commit 76e8f1f

Please sign in to comment.