title: Finding the position of the maximum element
body: <p>Is there a standard function that returns the position (not value) of the maximum element of an array of values?</p>
  <p>For example:</p>
  <p>Suppose I have an array like this:</p>
  <pre><code>sampleArray = [1, 5, 2, 9, 4, 6, 3]
  </code></pre>
  <p>I want a function that returns the integer of 3 that tells me that <code>sampleArray[3]</code> is the largest value in the array.</p>