Fill the blank
// wait for all, keep failures too const res = await Promise.____(tasks);
Answer: allSettled
allSettled resolves with every outcome instead of rejecting on the first failure.
Play Problem Solving ▸
// wait for all, keep failures too const res = await Promise.____(tasks);
Answer: allSettled