Promise.allSettled([ Promise.resolve('a'), Promise.reject('b') ]).then(console.log) Run code snippetHide results