九州体育网 - 十年信誉网站

关于作者

Discuss / JavaScript / 练习-请利用class重新定义Cat...

练习-请利用class重新定义Cat...

Topic source

心如止水0828

#1 Created at ...
class Cat extends Animal{
    say(){
        return `Hello, ${this.name}!`;
    }
}

  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.