Discuss / JavaScript / zuoye

zuoye

Topic source

易建朕

#1 Created at ... [Delete] [Delete and Lock User]
在此插入代码
function Cat(name) {
    this.name=name;
}

Cat.prototype.say=function(){
    return 'Hello, '+this.name+'!';
}

Hello, 之后有个空格..


  • 1

Reply