Skip to content

Glossary: Software Design Patterns in JavaScript

Inheritance

Also written: extends, subclass, child class, super

A child class reusing and extending its parent's code with `extends`, an "is-a" relationship. Deep inheritance trees tend to become hard to change.

Where the book teaches it

Related terms

Has-a / is-aLiskov substitution principle (LSP)Fragile base classOverride