Skip to content
Junior–Senior165 views

Sequential execution of asynchronous functions

Task condition

Write a function that takes an array of functions, each returning a promise, and ensures their sequential execution – the next function should only be invoked after the previous promise has been resolved (or rejected).

Frontend tasks in the code trainer