Search⌘ K

Constructor-Based Classes

Explore how to implement subtyping and class hierarchies in JavaScript using constructor-based classes. Learn to define base and subclass properties with getters and setters, and understand inheritance patterns before ES2015 to build structured front-end apps.

We'll cover the following...

Subtyping with constructor-based classes

Before the version ES2015, JavaScript didn’t have an explicit class concept. Subtyping was also not directly supported, so it had to be implemented with the help of ...