class Cat extends Animal{ constructor(name){ super(name); this.name = name; } say(){ return 'Hello, '+this.name+'!'; } }
Sign in to make a reply
NotFatCat