how to get value at a specific index of array in javascript example Example: get item in array from index var valueAtIndex1 = myValues[1];