FrontendInterviews.dev

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?

Select an option and submit your answer.
Next Problem