title: Why invoke "apply" instead of calling function directly?
body: <p>When looking at the source code for raphael or g.raphael or other libraries I've noticed the developer does something like this:</p>
  
  <pre><code>var val = Math.max.apply(Math, data_array);
  </code></pre>
  
  <p>Why not just invoke the function directly, such as:</p>
  
  <pre><code>var val = Math.max(data_array);
  </code></pre>
  
  <p>Thanks.</p>