Skip to content

Commit c54fb6a

Browse files
committed
spec: Fix error in which array-like objects still throw
1 parent 64a4921 commit c54fb6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: spec.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ <h1><ins>Array.fromAsync ( _asyncItems_ [ , _mapfn_ [ , _thisArg_ ] ] )</ins></h
5050
1. Let _mapping_ be *true*.
5151
1. Let _usingAsyncOrSyncIterator_ be ? GetMethod(_asyncItems_, @@asyncIterator).
5252
1. If _usingAsyncOrSyncIterator_ is *undefined*, let _usingAsyncOrSyncIterator_ be ? GetMethod(_asyncItems_, @@iterator).
53-
1. If _usingAsyncOrSyncIterator_ is *undefined*, throw a *TypeError* exception.
54-
1. Else,
53+
1. If _usingAsyncOrSyncIterator_ is not *undefined*, then
5554
1. If IsConstructor(_C_) is *true*, then
5655
1. Let _A_ be ? Construct(_C_).
5756
1. Else,

0 commit comments

Comments
 (0)