>
>> 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 }
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to