js中的寄生组合继承
摘要:
function inheritProperty(subType, superType) { function F(){} F.prototype = superType.prototype; superType.prototype.constructor = subType; subType.pr 阅读全文
posted @ 2020-04-22 15:34 冯亮 阅读(614) 评论(1) 推荐(0)
posted @ 2020-04-22 15:34 冯亮 阅读(614) 评论(1) 推荐(0)