Woah, spot something weird!? The first element is names[0]
not names[1]
.
The number in the []
when we initialize each element is known as the index of the array. In other words, the position.
Arrays are zero-indexed meaning they start at 0
not 1
!