Array elements are arranged by index values, starting at
0 as the first element index. Elements can be accessed by their index using the array name, and the index surrounded by square brackets.
.push() mutates the original array returns the new length of the array.
.pop() method removes the last element from an array and returns that element.
Even if they are declared using
const, the contents can be manipulated by reassigning internal values or using methods like
Arrays are lists of ordered, stored data. They can hold items that are of any data type. Arrays are created by using square brackets, with individual elements separated by commas.