3 ms·
None from the perspective of the consumer. The implementation of Promise.all could use one array for results and fill it in any order as soon as any promise r
by hdhzy 9y ago
None from the perspective of the consumer.
The implementation of Promise.all could use one array for results and fill it in any order as soon as any promise resolves while awaits will always proceed in strict order (like a generator). But that's an implementation detail that a JS programmer doesn't need to think about.
- itwy 9y agoThanks for the clarification.