Wizdaa interview question

Implement promiseAll without using promiseAll.