Skip to content

Commit f6acfc4

Browse files
committed
fix: Abstract Closure now captures thisArg
Thanks @waldemarhorwat.
1 parent d2de0c6 commit f6acfc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h1><ins>Array.fromAsync ( _asyncItems_ [ , _mapfn_ [ , _thisArg_ ] ] )</ins></h
114114
<emu-alg>
115115
1. Let _C_ be the *this* value.
116116
1. Let _promiseCapability_ be ! NewPromiseCapability(%Promise%).
117-
1. Let _fromAsyncClosure_ be a new Abstract Closure with no parameters that captures _C_ and _mapfn_ and performs the following steps when called:
117+
1. Let _fromAsyncClosure_ be a new Abstract Closure with no parameters that captures _C_, _mapfn_, and _thisArg_ and performs the following steps when called:
118118
1. If _mapfn_ is *undefined*, let _mapping_ be *false*.
119119
1. Else,
120120
1. If IsCallable(_mapfn_) is *false*, throw a *TypeError* exception.

0 commit comments

Comments
 (0)