function P() {};
P.prototype.show = function() {};function C() {};C.uber = function() {};function I(C,P){ var F = function() {}; F.prototype = P.prototype; C.prototype = new F(); C.uber =P.prototype; };I(C,P);var k = new C();绕丫绕!
本文共 306 字,大约阅读时间需要 1 分钟。
function P() {};
P.prototype.show = function() {};function C() {};C.uber = function() {};function I(C,P){ var F = function() {}; F.prototype = P.prototype; C.prototype = new F(); C.uber =P.prototype; };I(C,P);var k = new C();绕丫绕!
转载于:https://www.cnblogs.com/maievshabu/archive/2012/02/29/2373783.html