how to get array values in javascript

JavaScript
var valueAtIndex1 = myValues[1];
Source

Also in JavaScript: