$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · hard · #205

Fill the blank

// wait for all, keep failures too
const res = await Promise.____(tasks);

Answer: allSettled (also accepted: allSettled, allSettled())

allSettled resolves with every outcome instead of rejecting on the first failure.
Play Problem Solving ▸