superPropBase.js 370 B

123456789101112
  1. var getPrototypeOf = require("./getPrototypeOf.js");
  2. function _superPropBase(object, property) {
  3. while (!Object.prototype.hasOwnProperty.call(object, property)) {
  4. object = getPrototypeOf(object);
  5. if (object === null) break;
  6. }
  7. return object;
  8. }
  9. module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;