Junior — Senior
Monitoring the completion of a Promise array
livecode
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
}