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