Sobes.tech
Junior — Senior

Creating your own version of Promise.all

livecode

Task condition

It is necessary to write a function that takes an array of promises and returns the result of their joint execution, reproducing the behavior of the standard Promise.all method.

const allPromise = () => {
  
}

allPromise(promises).then(response => console.log(response))