Array values should be accessed using a number specifying the location of the desired value in the array. This number is called the Index.

Indexes start at 0 and finish at array length -1.

To access a value, you have to do something like this: arrayName[index], replacing “index” by the number corresponding to the offset of the value within your array.

https://codeeval.dev/gist/f51bad5fa647eb82079c4030ea73dc7c

To set or modify a value in the array, you use the same index-based method.

https://codeeval.dev/gist/9098c731e9e983118fa137dcce34fd80