call and apply in javascript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/11674115/whats-the-meaning-to-chain-call-and-apply-together">What’s the meaning to chain call and apply together?</a>  </p>
</blockquote>



<p>I found some codes like this:</p>

<pre><code>function fun() {
    return Function.prototype.call.apply(Array.prototype.slice, arguments);
}
</code></pre>

<p>I know the <code>call</code> and <code>apply</code> in js,however I am confused when they come together.</p>

<p>Then I wonder if </p>

<pre><code>Function.prototype.call.apply(Array.prototype.slice, arguments)
</code></pre>

<p>is the same as :</p>

<pre><code>Array.prototype.slice.apply(arguments);
</code></pre>

<p>If not,what does the first line do?</p>
