Files
discord-clone/node_modules/unenv/runtime/npm/inherits.cjs
2023-01-03 09:29:04 -06:00

22 lines
388 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
module.exports = inherits;
function inherits(ctor, superCtor) {
if (!superCtor) {
return;
}
ctor.super_ = superCtor;
ctor.prototype = Object.create(superCtor.prototype, {
constructor: {
value: ctor,
enumerable: false,
writable: true,
configurable: true
}
});
}