JavaScript Developer — Hard
Key points
- `Promise.allSettled` includes all promises in the results array
- The length of the results array includes all promises, whether resolved or rejected
- The output is not affected by the rejection of `p2`
Ready to go further?
Related questions
