title: Is there such a thing as a catch-all key for a javascript object?
body: <p>Considering the following javascript example:</p>
  
  <pre><code>var myobj = {   func1: function() { alert(name in this) },
                  func2: function() { alert(name in this) },
                  func3: function() { alert(name in this) }
  }
  
  myobj.func2(); // returns true
  myobj.func4(); // undefined function
  </code></pre>
  
  <p>Is it possible to create a 'catch-all' key for <code>myobj</code> that will get called if there is no key/function defined (as in <code>func4()</code>) while retaining the <code>myobj.functionCall()</code> format?</p>