inheritsLoose.js 360 B

123456789
  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;