Call parent function which is being overridden by child during constructor chain in JavaScript(ES6) [duplicate]
You seem to be operating under a misconception that there are two objects A and B when you are in the constructor of the derived class B. This is not the case at all. There is one and only one object. Both A and B contribute properties and methods to that one object. The value …