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