How can I specify a default getter for a prototype? With default getter I mean a function that is called if obj.undefinedProperty123 is called.
obj.undefinedProperty123
I tried
You need to wait for the implementation of the ECMA6 "Proxy" system, designed to do exactly this. See http://wiki.ecmascript.org/doku.php?id=harmony:direct_proxies.