title: Return index of greatest value in an array
body: <p>I have this:</p>
  
  <pre><code>var arr = [0, 21, 22, 7];
  </code></pre>
  
  <p>What's the best way to return the index of the highest value into another variable?</p>