Executing in series

suggest change
Promise.resolve([1, 2, 3])
  .mapSeries(el => Promise.resolve(el * el)) // in real world, use Promise returning async function
  .then(console.log)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents