how to get a value out of an array javascript code example Example: how to get array values in javascript var valueAtIndex1 = myValues[1];