Skip to content

Commit

Permalink
fixes #172: avoid exposing spec fiction %AsyncFromSyncIteratorPrototype%
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Jul 6, 2022
1 parent 8489007 commit 1af2467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Expand Up @@ -318,7 +318,7 @@ <h1>AsyncIterator.from ( _O_ )</h1>
1. Set _usingIterator_ to ? GetMethod(_O_, @@iterator).
1. If _usingIterator_ is not *undefined*,
1. Let _syncIteratorRecord_ be ? GetIterator(_O_, ~sync~, _usingIterator_).
1. Return ! CreateAsyncFromSyncIterator(_syncIteratorRecord_).
1. Set _O_ to ! CreateAsyncFromSyncIterator(_syncIteratorRecord_).
1. If _iteratorRecord_ is *undefined*, set _iteratorRecord_ to ? GetIteratorDirect(_O_).
1. Let _wrapper_ be ! ObjectCreate(%WrapForValidAsyncIteratorPrototype%, &laquo; [[AsyncIterated]] &raquo;).
1. Set _wrapper_.[[AsyncIterated]] to _iteratorRecord_.
Expand Down

0 comments on commit 1af2467

Please sign in to comment.