Pergunta de entrevista da empresa LifeOmic

How would you write your own implementation of Promise.all()?