← You're collecting async iterable results with a for-await loop. `Array.fromAsync` does it in one call.Quiz
Array.fromAsync — async iterables into arrays
Array.fromAsync collects an async iterable into a plain array with a single awaited call. These questions check what it accepts, how it differs from the broken spread workaround and from Promise.all, whether it processes values sequentially or concurrently, what the mapper argument does and whether it can return a promise, what browser versions shipped it, and when you should still reach for Promise.all instead.
questions8
pass mark70%
feedbackinstant
No account needed. Every answer is explained as you go, with a reference to the spec or MDN — pass and you can claim a certificate.