The `super` keyword doesn't work as it should?

Raul-Sebastian Mihăilă raul.mihaila at gmail.com
Wed Jul 20 06:42:15 UTC 2016


I wasn't suggesting any mechanism for accomplishing that. Method borrowing
is error prone either way. With the current spec, it's risky because this
and super basically may use two different prototype chains. Also you may
change the prototype of the home object and run into trouble. (In the
alternate approach I would expect a super evaluation in a non-method
function call to throw). Anyway, I'm OK with the current spec it doesn't
require too much extra discipline.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160720/ade0f428/attachment.html>


More information about the es-discuss mailing list