JavaScript Tutorial ✦
Super Keyword
Refers to the parent class constructor or methods in class inheritance.
class Animal { constructor(name) { this.name = name; } }
class Dog extends Animal { constructor(name, breed) { super(name); this.breed = breed; } }