News for hackers. Stuff that matters.
Re:Ask HN: What are some cool but obscure data structures yo... by meowtimemania on Friday July 22, 2022 @09:18PM (#32199232)
Because Array.forEach doesn’t return a value or anything that could be awaited. If you use Array.map you can create an Array of promises that can be awaited with Promise.all

There are no comments on this comment yet.