how to get values from index 0 to n javascript code example Example: get item in array from index var valueAtIndex1 = myValues[1];