title: Get the array key with the highest value in javascript
body: <p>I have a array like</p>
  
  <pre><code>arr[1] = 234;
  arr[2] = 345;
  ...
  
  arr[40] = 126;
  </code></pre>
  
  <p>How can I get the index of the element with the highest value without reiterating the array?</p>