source: imaps-frontend/node_modules/@babel/runtime/helpers/esm/inherits.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 460 bytes
Line 
1import setPrototypeOf from "./setPrototypeOf.js";
2function _inherits(t, e) {
3 if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
4 t.prototype = Object.create(e && e.prototype, {
5 constructor: {
6 value: t,
7 writable: !0,
8 configurable: !0
9 }
10 }), Object.defineProperty(t, "prototype", {
11 writable: !1
12 }), e && setPrototypeOf(t, e);
13}
14export { _inherits as default };
Note: See TracBrowser for help on using the repository browser.