摘要: //首先来一个例子 function person(name,age) { this.name = name; this.age = age; } person.prototype.getName = function(){ return 1 } let boy = new person('lin' 阅读全文
posted @ 2021-04-29 13:48 飞飞飞飞0928 阅读(307) 评论(0) 推荐(0) 编辑