inheritsLoose.js 358 B

1234567
  1. var setPrototypeOf = require("./setPrototypeOf.js");
  2. function _inheritsLoose(subClass, superClass) {
  3. subClass.prototype = Object.create(superClass.prototype);
  4. subClass.prototype.constructor = subClass;
  5. setPrototypeOf(subClass, superClass);
  6. }
  7. module.exports = _inheritsLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;