Skip to content
Junior–Senior167 views

Monitoring the completion of a Promise array

Task condition

Implement a function that takes an array of Promise objects and logs the message "all done" to the console after each of the provided Promises has settled.

function monitor(promises) {
    // your code
}
Frontend tasks in the code trainer