class Cat extends Animal { constructor(name, gender) { super(name); this.gender = gender; } say () { return `Hello, ${this.name}!`; } }
Sign in to make a reply
用户6386657610