Frontend
Interviews
.dev
Problems
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?
true 0
false 0
true 1
TypeError
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer