What is gained when you .extend() an obj prototype with itself
<p>I was looking at some code, and just to make sure I wasn't losing my mind with missing the obvious as this looks like to me, there is nothing gained. Seems like a wasteful usage of $.extend() but perhaps someone can shed some light on something I might be missing with inheritance.</p>

<p>So, we have this.</p>

<pre><code>_letsCreateNameSpace('US.somenew.obj');
//this is based on S.stoyanov namespace pattern, what this _letsCreateNameSpace does.
</code></pre>

<p>then I seen this in some code, and it didn't make sense to me.</p>

<pre><code>US.somenew.obj = function(){
  // some this var assignments.
  this.blah = $foo;
}

// this usage of extend escapes me. I don't see a need at this point here.
$.extend(US.somenew.obj.prototype, {
  // a bunch of new methods


}
</code></pre>

<p>I do not see at all the benefit of using $.extend() instead of just the following, as there is no extending anything but itself.</p>

<pre><code> US.somenew.obj.prototype = {
   // a bunch of new methods
 }
</code></pre>

<p>there is no 'deep' extend or anything.. just looks like a verbose way of extending a prototype for no reason.</p>

<p>Am I missing something? Is there some "forest behind the tree's" methodology I am missing here?</p>
