What are arrays used for?
create and store a list of multiple items in a single variable/ data for the same type
Describe array literal notation.
square brackets with values separated by commas
How are arrays different from “plain” objects?
arrays store lists of data with numbered indexes, whereas objects store key-value pairs unordered
What number represents the first index of an array?
zero, [0]
What is the length property of an array?
arrayName.length
How do you calculate the last index of an array?
arrayName.length -1