What is the output for the below lines of code? var myArray = new Array(); myArray[10] = "This is the only element in this array"; alert(myArray.length);
Reveal answer
Fill a bubble to check yourself
What is the output for the below lines of code? var myArray = new Array(); myArray[10] = "This is the only element in this array"; alert(myArray.length);