FrontendInterviews.dev

671. Promise.any with Empty Input

Easy•

Predict the output.

Promise.any([]).then(console.log).catch((e) => console.log(e.name))

What is printed in the console?

Select an option and submit your answer.
Next Problem