JavaScript, Prototype Chain, Prototype Pattern, Prototypical Inheritance, Modern Javascript.
Inheritance Let’s create another type of dog, a super dog! This dog should inherit everything from a normal Dog, but it should also be able to fly. We can create a super dog by extending the Dog class and adding a fly method. class SuperDog extends Dog { constructor(name) { super(name); } fly() {