Private Slots

Kevin Smith khs4473 at
Mon Jan 14 19:31:11 PST 2013

>> That's why the methods are bound to the original object.
> Regardless of the "this" binding, the privately keyed method will not be
> copied over from the source object and hence will be undefined when called.

Sorry, I misunderstood what you were trying to get at.  Your implementation
would require carrying around a fully constructed `b` in addition to a
fully constructed `a`, which I suppose is a kind of "uses-a" mixin, rather
than the inheritance-based mixin that I was trying to create.

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list