Waiting for all promises regardless of outcome.
- Category: JS Promises — part of the JavaScript Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "Promise.allSettled()" in one sentence, then back it up with a tiny example
// Promise.allSettled() — minimal example
console.log("Promise.allSettled()");Tip
Quick recall: "Promise.allSettled()" — waiting for all promises regardless of outcome.