class Animal{ constructor() { this.walk = "walk"; } } class Dog extends Animal{ constructor() { super(); this.bark = "bark"; } } const dog = new Dog(); console.log(dog.walk); /*must include BOTH extends and super()*/