Does jQuery do some magic with the `this` variable?
<p>jQuery has gotten us used to the following <code>this</code> pattern:</p>

<pre><code>$(selector).each(function () {
     // do something with `this`
     // `this` iterates over the DOM elements inside `$(selector)`
});
</code></pre>

<p>According to <a href="http://www.youtube.com/watch?v=ya4UHuXNygM" rel="nofollow">this Crockford talk</a> (about 15 minutes in) the value of <code>this</code> inside a function that is not called with the <code>new</code> operator is the global object, except for ES5 strict mode in which case it is <code>undefined</code>.</p>

<p>Does jQuery do some magic with <code>this</code> to get it to something other than the global object? Please point to specific lines of the source code.</p>
