Static getters / setters can have incorrect this
binding
#4327
Labels
Duplicate
An existing issue was already created
this
binding
#4327
I believe this is because the
foo
getter will be defined viaObject.defineProperty(Base, {..})
, which hard-wiresthis
toBase
within the getter, rather than binding as expected toInherited
inInherited.foo
.The text was updated successfully, but these errors were encountered: