Domanda di colloquio di Boston Consulting Group

What does the Promise.allSettled() do?