> > Even with adding properties to objects (which is a no-no for ES.next), > dynamic super is never particularly elegant. This was the best solution I > could come up with and it’s not pretty: https://gist.github.com/1331748 >
If we could get away with manipulating the prototype chain at run time then super can be implemented as https://gist.github.com/1367167 The idea of temporarily plucking the current [[Prototype]] out of the chain, is how I envision super should work.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

