Skip to content

Commit 73ca045

Browse files
authored
fix: Rename _next_ reference to _nextResult_ (#45)
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.
1 parent 689d0d4 commit 73ca045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spec.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ <h1><ins>Array.fromAsync ( _asyncItems_ [ , _mapfn_ [ , _thisArg_ ] ] )</ins></h
100100
1. If _done_ is *true*,
101101
1. Perform ? Set(_A_, *"length"*, 𝔽(_k_), *true*).
102102
1. Return Completion Record { [[Type]]: ~return~, [[Value]]: _A_, [[Target]]: ~empty~ }.
103-
1. Let _nextValue_ be ? IteratorValue(_next_).
103+
1. Let _nextValue_ be ? IteratorValue(_nextResult_).
104104
1. If _mapping_ is *true*, then
105105
1. Let _mappedValue_ be Call(_mapfn_, _thisArg_, &laquo; _nextValue_, 𝔽(_k_) &raquo;).
106106
1. IfAbruptCloseAsyncIterator(_mappedValue_, _iteratorRecord_).

0 commit comments

Comments
 (0)