圣杯模式 function inherit (Target,Origin){ function F() { }; F.prototype = origin.prototype; Target.prototype = new