What does the arguments passed to a javascript closure do?
<p>How do I explain the role of the arguments passed in the beginning vs end of a wrapped Javascript closure as the one shown below? </p>

<pre><code>(function($, window) {
  return $(function() {
    return alert("js!");
  });
})($, window);
</code></pre>
