Duration: 19:02 min
Summary: In this lesson, we will continue our discussion on arrays. We started our discussion in the previous lesson by mentioning that arrays are declared using square brackets ([]). We will see that we can use the for loop to iterate over the elements within an array, keeping in mind that array indexing starts at 0. We will also discuss creating arrays of arrays and see how we can index the values. Another important concept to keep in mind is that we can array an array of different types. For example, we will create one array that contains an integer, a string, a function, and an object! Finally, we will see that the length property of an array is not read-only. In other words, we can change that value and chop elements off the array.