How to get value at a specific index of array In JavaScript?
<p>I have an array and simply wants to get the element / value at index 1 </p>

<pre><code>var myValues = new Array();
var valueAtIndex1 = myValues.getValue(1); // (something like this)
</code></pre>

<p>How can I get the value at the 1st index of my array in JavaScript?</p>

<p>Thanks</p>
