Phase 2: Intermediate • Module 2: Promises & Async
Implement the Promise.all() function that resolves to an array of results if all the input elements are resolved or rejects otherwise