Can I define a "fallback" method in JavaScript?
<p>Is it (in a performant way) possible to define "fallback" methods in JavaScript?</p>

<p>For example</p>

<pre><code>function MyObject () {
   /* what do i have to add here to have my defaultMethod? */
}

var obj = new MyObject ();
obj.doesntExistInMyObject (); // I want defaultMethod to be called
obj.doesntExistEither (); // I want defaultMethod to be called, too
</code></pre>

<p>I.e.: I want <code>defaultMethod</code> to be called whenever I write <code>obj.calledMethod ();</code> and <code>obj.calledMethod == undefined</code>, but I do not want to check for <code>undefined</code> in the calling code.</p>
