FrontendInterviews.dev

670. Promise.all with Empty Input

Easy•

Predict the output.

Promise.all([]).then((v) => console.log(Array.isArray(v), v.length))

What is printed in the console?

Select an option and submit your answer.
Next Problem