Insider One Interview Question

How does Promise.all work in JavaScript?