What are arrays used for?
Arrays are used to store a list of values that are related to each other.
Describe array literal notation.
An array consists of a square bracket that holds a list of values, separated by commas. And it’s assigned to a variable.
How are arrays different from “plain” objects?
The values in an array is stored in index number, while the values in an object is stored in a property.
What number represents the first index of an array?
0.
What is the length property of an array?
It’s the number of items in an array.
How do you calculate the last index of an array?
Use the length property of the array and minus 1.