fwiw I agree with Jason thanks gosh inheritance worked as expected even for public statics.
If you want to overwrite the inherited behaviour just do that on class B and eventually C. On Tue, Aug 16, 2016 at 1:38 PM, Jason Orendorff <[email protected]> wrote: > On Mon, Aug 15, 2016 at 8:45 PM, /#!/JoePea <[email protected]> wrote: > >> It seems like using [[Get]] for looking up `@@hasInstance` can be >> confusing and requires devs to write extra code. >> > > I think the emotionally loaded words in this post ("fail", "ugly", > "fragile", "break") are unhelpful. You have to make your point some other > way. > > The `c instanceof B` check (arguably unintuitively) fails. >> > > It doesn't "fail". B inherits behavior from its base class A. That's the > whole point of subclassing. > > -j > > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

