I don’t think Allen’s proposal is controversial, any more. It’s how things work in almost all mainstream (OO) languages. I don’t see myself using `super` anywhere outside an object literal – except for a few cases where Object.defineMethod() works just fine. Do you have any real-world examples where you want to use `super` outside an object literal? Caveat: In some contexts, you need the extension "monocle" operator to make object literals viable.
>> So it only works inside an object literal, whereas mine is easier to >> understand and works anywhere. If you are using it without any of the >> other stuff you can even trivially get your minifier to desugar for >> older browsers. >> I don't think hard coding the name of the super-constructor is a >> problem. -- 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

