What is this syntax? ; (function ($, undefined)
<pre><code>; (function ($, undefined)
{

    // all the variables and functions of the js document

})(jQuery);
</code></pre>

<p>I've seen this twice now in the jquery/javascript files for a zoom script. I don't understand what this is exactly. I can't seem to google it, I don't remember coming across this on tizag or w3schools while recently learning jquery and js.</p>

<p>There's nothing before or after this code (other than some comments). So I'm utterly lost as to what <code>(function())(jQuery);</code> is or does.</p>
