JavaScript·Advanced·Conceptual·1 min read
How does super relate to this in a derived constructor?
Short interview answer
A derived constructor cannot access this before calling super. super initializes the inherited instance receiver, after which the constructor may use this.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.