In brief
Promise.all() fulfils when all input promises fulfil and returns their results in input order.
Useful to know
Promise.all() fulfils when all input promises fulfil and returns their results in input order. If one rejects, the combined promise rejects with that reason. [1]
If the second request finishes first, its result still occupies the second position. This is useful when loading related data together. Rejection of the combined promise does not automatically cancel the remaining work. Cancellation or a separate report for every outcome must be provided by other parts of the solution.
Sources
For further detail and to check the information: