2018年10月12日
摘要: function Person(name,age) { this.name = name; this.age = age; } Person.prototype.sayName = function(){ console.log(this.name); } let person1 = new Person('l... 阅读全文
posted @ 2018-10-12 14:26 weblsy 阅读(322) 评论(0) 推荐(0)