Skip to content

Commit

Permalink
fix OrdinaryHasInstance call in AsyncIterator.from (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Sep 7, 2022
1 parent 8157fcc commit 4c47229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ <h1>AsyncIterator.from ( _O_ )</h1>
1. Let _iteratorRecord_ be *undefined*.
1. If _usingIterator_ is not *undefined*, then
1. Set _iteratorRecord_ to ? GetIterator(_O_, ~async~, _usingIterator_).
1. Let _hasInstance_ be ? OrdinaryHasInstance(%AsyncIterator.prototype%, _iteratorRecord_.[[Iterator]]).
1. Let _hasInstance_ be ? OrdinaryHasInstance(%AsyncIterator%, _iteratorRecord_.[[Iterator]]).
1. If _hasInstance_ is *true*, then
1. Return _iteratorRecord_.[[Iterator]].
1. If _iteratorRecord_ is *undefined*, then
Expand Down

0 comments on commit 4c47229

Please sign in to comment.