promisesJavaScriptPromisesHardHow does Promise.allSettled() differ from Promise.all()?1allSettled waits for every promise to settle and reports each outcome, never fast-failing2allSettled fails fast on the first rejection3They behave identically4allSettled only accepts two promisesBack to list