javascript question on inheritance and prototypes
<p>In the jQuery library, I found this line</p>

<pre><code>jQuery.extend = jQuery.fn.extend = function() {
</code></pre>

<p>This kind of puzzles me. I thought that a given object automatically provides access to its prototype methods (in other words, if a method, or var, is not resolved on the object itself, it is tried on its prototype, then on the prototype's prototype and so on).</p>

<p>So, what's the reason behind associating the function both to the object and to the prototype? (in jQuery fn is an alias for prototype).</p>
