https://gist.github.com/3918227
I’m wondering what this approach does better. Given the 3 objects-as-maps pitfalls [1], we have: 1. Accidentally accessing inherited properties: fixed 2. Can’t safely invoke methods, because those might be overridden: still a problem (right?) 3. __proto__: fixed [1] http://www.2ality.com/2012/01/objects-as-maps.html -- Dr. Axel Rauschmayer [email protected] home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

