var colors = ["blue", "red", "white", "green"];
The index of the first element of the array starts with 0. So to access the first element of the array
You can find the length of an array using length
Check how to work with 2 Dimensional arrays.