Insider One interview question

How does Promise.all work in JavaScript?