Sha256: 98605cebba78fa739aecdaafa6b9528f57840f52c9a57118186383831258e93b
Contents?: true
Size: 586 Bytes
Versions: 34
Compression:
Stored size: 586 Bytes
Contents
var setPrototypeOf = require("./setPrototypeOf.js"); function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) setPrototypeOf(subClass, superClass); } module.exports = _inherits; module.exports["default"] = module.exports, module.exports.__esModule = true;
Version data entries
34 entries across 33 versions & 5 rubygems