JavaScript Professional — Medium
Key points
- Promises are resolved in the order they are created
- The setTimeout delays the resolution of each promise
- Promise.all waits for all promises to resolve before logging the results
Ready to go further?
Related questions
