Discuss / JavaScript / 简单类型

简单类型

Topic source

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


  • 1

Reply