source: trip-planner-front/node_modules/@babel/runtime/helpers/superPropBase.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 370 bytes
Line 
1var getPrototypeOf = require("./getPrototypeOf.js");
2
3function _superPropBase(object, property) {
4 while (!Object.prototype.hasOwnProperty.call(object, property)) {
5 object = getPrototypeOf(object);
6 if (object === null) break;
7 }
8
9 return object;
10}
11
12module.exports = _superPropBase;
13module.exports["default"] = module.exports, module.exports.__esModule = true;
Note: See TracBrowser for help on using the repository browser.