Making "super" work outside a literal?

Sean Eagan seaneagan1 at gmail.com
Wed Jun 22 11:01:35 PDT 2011


On Wed, Jun 22, 2011 at 12:07 PM, Juan Ignacio Dopazo
<dopazo.juan at gmail.com> wrote:
> Can the value of a dynamic super be unambiguously resolved with prototype
> climbing and without an extra implicit parameter?

Yes, it can be unambiguously determined by prototype climbing, the
only information from the call site that is used is the base ( |this|
) value of the method call or accessor property access, whose
prototype chain is the one that is climbed.

Cheers,
Sean Eagan


More information about the es-discuss mailing list