Using Promise.all() in JavaScript

Medium
58
3
48.3% Acceptance

In this lab, you will learn to use the Promise.all() method in JavaScript. You are required to create two functions, getUsers and getPosts, that simulate API calls by returning Promises. Afterwards, you will use the Promise.all() method to call both functions concurrently and handle their resolutions.

Make sure that you're exporting the functions that you've created