Tell us what’s happening:
const emptyArray = new Array(5);
console.log(emptyArray.length); // 5
console.log(emptyArray); // [,]
shouldn’t that be
console.log(emptyArray); //[ <5 empty items> ]
? Seems to be a mismatch between content and quiz questions
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15
Challenge Information:
Understanding Core JavaScript Fundamentals - How Do You Get the Length for an Array, and How Can You Create an Empty Array of Fixed Length?