Discuss / JavaScript / 打卡

打卡

Topic source

class Cat extends Animal {

    constructor(name) {

        super(name);

    }

    say() {

        return('Hello, ' + this.name + '!');

    }

}


  • 1

Reply