function Cat(name) {
this.name = name;
}
Cat.prototype.say = function(){
return 'Hello, ' + this.name + '!';
人傻了,还有个空格,看半天
Sign in to make a reply
输了就该认30891
function Cat(name) {
this.name = name;
}
Cat.prototype.say = function(){
return 'Hello, ' + this.name + '!';
}
人傻了,还有个空格,看半天