var inherit = (function(){

var F = function(){};

return function(Target,Origin){

F.prototype = Origin.prototype;

Target.prototype = new F();

Target.prototype.constructor = Target;

Target.prtotype.uber = Origin.prototype;

}

}())

posted on 2019-02-24 19:47  Arcbala  阅读(165)  评论(0编辑  收藏  举报