摘要: 原型链继承 其基本思想是利用原型让一个引用类型继承另一个引用类型的属性和方法。 function SuperType(){ this.property = true; } SuperType.prototype.getSuperValue = function(){ return this.prop 阅读全文
posted @ 2020-07-04 15:32 ahaMOMO 阅读(258) 评论(0) 推荐(0) 编辑