Discuss / JavaScript / 为啥会测试失败

为啥会测试失败

Topic source

function Cat(name){

 this.name = name;

};

Cat.prototype.say=function(){

  return 'hello,'+this.name+'!';

};

hello的H大写,逗号后面加空格……


  • 1

Reply