Introduction to Classes
Object-Oriented Programming (OOP) allows you to organize code into conceptual objects. Before ES6 (2015), JavaScript relied purely on "Constructor Functions". Now, JavaScript provides the class keyword.
Inheritance
Inheritance is a core principle of OOP. It allows you to create a "Child" class that automatically inherits all the logic and traits from a "Parent" class, while still allowing the Child to have its own unique logic.