$.fn or Function.prototype
<p>I'm trying to get this to work. </p>

<pre><code>$.fn.createDelegate = function(scope){
var fn = this;
   return function() {
       return fn.apply(scope, arguments);
   }
 }
</code></pre>

<p>The below version works but I thought they were both the same. The first being a shorthand way of writing the second.
Or maybe I have gotten the idea incorrect.</p>

<pre><code>Function.prototype.createDelegate = function(scope){
var fn = this;
   return function() {

       return fn.apply(scope, arguments);
   }
 }
</code></pre>

<p>When I call the first like this:
     var delegate = this.myMethod.createDelegate(this);
            setTimeout(delegate, 3000);</p>

<p>It says not a function. The second method with Function.prototype works. Can someone explain why and set me straight.</p>

<p>Also would it be best to have this as a small plugin so it doesn't get overwritten thought a large project. </p>
