In JavaScript there is the possibility to create getters and setters the following way:
function MyClass(){ var MyField; this.__defineGetter__(\"MyField\",
In Google Chrome lookupGetter/lookupSetter is broken: http://code.google.com/p/chromium/issues/detail?id=13175