Skip to content
Find file
5f96f33
10 lines (7 sloc) 187 Bytes

Modify Array Data With Indexes

We can also modify the data stored in arrays by using indexes.

For example:

var ourArray = [3,2,1];
ourArray[0] = 1; // equals [1,2,1]
Something went wrong with that request. Please try again.