On Sun, Oct 23, 2011 at 11:24 AM, Axel Rauschmayer <[email protected]> wrote:
> > - If instance factory B inherits from instance factory A, is B a subclass >> of A? B a subtype of A? B a subconstructor of A? >> > > B inherits A's prototype, A is in B's "prototype chain" > > > B.prototype inherits A.protoype. > A.prototype is a prototype of B. prototype (ugh). > > This kind of nonsense is why I like the 'selfish' model. The prototype chain consists of plain objects with behaviors as properties. So you just say A is a prototype of B. (I guess you are trying terminology for all of JS, but your example points out one of the issues with new/fnc.prototype solution). jjb
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

