Question d’entretien chez ServiceTitan

Recreate Promise.all function. How do you return a new Promise.