The Index Number in Arrays
This example above references the the fourth element in the array named
cartItems (remember that there is an element at
0). When you reference and element you can delete it, edit its value, print it to the screen, or set another variable to its value.