Frontend
Interviews
.dev
Problems
676. Array Constructor Single Number
Easy
•
...
Predict the output.
console
.
log
(
new
Array
(
3
)
.
length
,
new
Array
(
'3'
)
.
length
)
What is printed in the console?
3 3
3 1
1 3
1 1
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer