Skip to content

Commit

Permalink
fix: Rename _next_ reference to _nextResult_
Browse files Browse the repository at this point in the history
Finish #44’s change, which fixes #33.

Co-Authored-By: Kevin Gibbons <[email protected]>
#44 renamed _next_ to _nextResult_ but one reference was left unchanged. Spotted by @trflynn89.
  • Loading branch information
js-choi committed Dec 24, 2023
1 parent 689d0d4 commit 6f14788
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 @@ -100,7 +100,7 @@ <h1><ins>Array.fromAsync ( _asyncItems_ [ , _mapfn_ [ , _thisArg_ ] ] )</ins></h
1. If _done_ is *true*,
1. Perform ? Set(_A_, *"length"*, 𝔽(_k_), *true*).
1. Return Completion Record { [[Type]]: ~return~, [[Value]]: _A_, [[Target]]: ~empty~ }.
1. Let _nextValue_ be ? IteratorValue(_next_).
1. Let _nextValue_ be ? IteratorValue(_nextResult_).
1. If _mapping_ is *true*, then
1. Let _mappedValue_ be Call(_mapfn_, _thisArg_, &laquo; _nextValue_, 𝔽(_k_) &raquo;).
1. IfAbruptCloseAsyncIterator(_mappedValue_, _iteratorRecord_).
Expand Down

0 comments on commit 6f14788

Please sign in to comment.