Practice
Learn
← Quit
0 / 0 correct
JS / TypeScript
Medium
1 of 40
What is the difference between Promise.all and Promise.allSettled?
A
all rejects as soon as any promise rejects; allSettled waits for every promise and reports each outcome
B
all ignores rejections
C
None
D
allSettled runs promises sequentially