摘要: function inherits(Child,Parent){ var F = function(){}; F.prototype = Parent.prototype; Child.prototype = new F(); Child.prototype.constructor = Child; } fu... 阅读全文
posted @ 2018-09-04 23:02 LaLaLa_heng 阅读(66) 评论(0) 推荐(0) 编辑