You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
460 B
14 lines
460 B
4 weeks ago
|
import setPrototypeOf from "./setPrototypeOf.js";
|
||
|
function _inherits(t, e) {
|
||
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
||
|
t.prototype = Object.create(e && e.prototype, {
|
||
|
constructor: {
|
||
|
value: t,
|
||
|
writable: !0,
|
||
|
configurable: !0
|
||
|
}
|
||
|
}), Object.defineProperty(t, "prototype", {
|
||
|
writable: !1
|
||
|
}), e && setPrototypeOf(t, e);
|
||
|
}
|
||
|
export { _inherits as default };
|