yuxuannnn_utils
Version:
13 lines (12 loc) • 379 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.inhert = void 0;
exports.inhert = (() => {
const F = new Function();
return (Target, Origin) => {
F.prototype = Origin.prototype;
Target.prototype = new F();
Target.prototype.constructor = Target;
Target.prototype.uber = Origin;
};
})();