Implement Promise.all
JAVASCRIPT
Hard
+60 XP
Problem Description
Implement a function `myPromiseAll(promises)` that mimics the behavior of `Promise.all`:
- Resolves with an array of results when all promises resolve
- Rejects immediately if any promise rejects
Do NOT use `Promise.all` in your implementation.
- Resolves with an array of results when all promises resolve
- Rejects immediately if any promise rejects
Do NOT use `Promise.all` in your implementation.
Your Solution