super in constructor should be distinct (Re: (Weak){Set|Map} subclassing)

Herby Vojčík herby at mailbox.sk
Wed Dec 5 13:44:52 PST 2012



Herby Vojčík wrote:
>
>
> Herby Vojčík wrote:
>> __proto__s (the ones I mentioned above). You say that when they are
>> changed / out-of-sync / in whatever-else-nonstandard situation, then the
>> authoritative source of super-constructor for the SubClass constructor
>> should be SubClass.prototype.__proto__.constructor (that is,
>> this.prototype.__proto__.constructor); and I am saying it should be
> Erratum: this.__proto__.constructor.
Erratum2: of course, no this...., home class's .prototype must be used.
Ignore the "that is, ..." parentheses.
I should go to sleep.
>> SubClass.__proto__ itself.


More information about the es-discuss mailing list