The `super` keyword doesn't work as it should?
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...
More information about the es-discuss