JavaScript, Prototype Chain, Prototype Pattern, Prototypical Inheritance, Modern Javascript.
return "Flying!"; } } Let’s create a flying dog called Daisy, and let her bark and fly! class Dog { constructor(name) { this.name = name; } bark() { console.log("Woof!"); } } class SuperDog extends Dog { constructor(name) { super(name); } fly() { console.log(`Flying!`); } } const dog1 = new