console.log
to .then
console.log
to .catch
delay
that returns a promise.
And that promise should return a setTimeout
that calls resolve
after 1000ms
secondPromise
Call the firstPromise
with a ".then", which will return the secondPromise>
promise.
Then print the contents of the promise after it has been resolved by passing console.log
to .then
Promise.all
to make 3 API calls and return all the data when the calls are complete