Index Value weekDays[0] weekDays[1] weekDays[2] weekDays[3] weekDays[4] weekDays[5] weekDays[6] In fact, while this is good programming practice, it is not a requirement of the JavaScript language. The line written without the array size is just as acceptable to JavaScript var weekDays = new Array this creates an array, with no elements Index ValueIn this second case, JavaScript will make appropriate changes to its memory organisation later, once it identifies how many elements the array needs to hold. Even then, JavaScript is a can extend the size of an array to contain more elements than it was originally defined to contain. For example, if we next have the statement weekDays[4] = "Friday the JavaScript interpreter will identify the need for the weekDays array to have at least five elements, and for which the 5th element is the String "Friday.