摘要:
1.原型链利用原型让一个引用类继承另一个引用类型的属性和方法 1 function superType() { 2 this.property = true; 3 } 4 5 superType.prototype.getSuperValue = function () { 6 r... 阅读全文
posted @ 2015-09-17 19:15
·小钢炮·
阅读(174)
评论(0)
推荐(0)
|
摘要:
1.原型链利用原型让一个引用类继承另一个引用类型的属性和方法 1 function superType() { 2 this.property = true; 3 } 4 5 superType.prototype.getSuperValue = function () { 6 r... 阅读全文
posted @ 2015-09-17 19:15
·小钢炮·
阅读(174)
评论(0)
推荐(0)
|