Coordinating multiple promises
In what order do the results appear?
Examples
Worked example
Input
Promise.all receives A first and B second. B finishes before A.
Expected output
A, B
Hints and solution
Hint 1
Write down the starting state and walk through one example by hand.
Reveal worked answer
The result positions match the input positions, even when completion order is different.