How can I overwrite a function inside of a closure?
<p>Given:</p>

<pre><code>(function() {
 function Foo() {
 }
 $.extend(Foo.prototype, {
  bar: 'hasBeer'
 });
})
</code></pre>

<p>Is it possible to change the bar method from <strong>outside</strong> of that closure?</p>
