Skip to content

Commit 7d6c67e

Browse files
js-choiljharb
andauthored
Update README.md
Co-authored-by: Jordan Harband <[email protected]>
1 parent fa43074 commit 7d6c67e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ const arr = await Array.fromAsync(asyncGen(4));
8282
If the argument is a sync iterable (and not an async iterable), then the return
8383
value is still a promise that will resolve to an array. If the sync iterator
8484
yields promises, then each yielded promise is awaited before its value is added
85-
to the new array. (Values that are not promises are also awaited to [prevent
86-
Zalgo][Zalgo].) All of this matches the behavior of `for await`.
85+
to the new array. (Values that are not promises are also awaited to [prevent Zalgo][Zalgo].) All of this matches the behavior of `for await`.
8786

8887
[Zalgo]: https://blog.izs.me/2013/08/designing-apis-for-asynchrony/
8988

0 commit comments

Comments
 (0)