JavaScript Developer — Hard
Key points
- `Promise.race()` resolves with the value of the first promise to settle
- It does not wait for all promises to complete
- It is useful for scenarios where you only care about the fastest result
Ready to go further?
Related questions
