source: trip-planner-front/node_modules/@babel/runtime/helpers/get.js@ 571e0df

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

initial commit

  • Property mode set to 100644
File size: 846 bytes
Line 
1var superPropBase = require("./superPropBase.js");
2
3function _get(target, property, receiver) {
4 if (typeof Reflect !== "undefined" && Reflect.get) {
5 module.exports = _get = Reflect.get;
6 module.exports["default"] = module.exports, module.exports.__esModule = true;
7 } else {
8 module.exports = _get = function _get(target, property, receiver) {
9 var base = superPropBase(target, property);
10 if (!base) return;
11 var desc = Object.getOwnPropertyDescriptor(base, property);
12
13 if (desc.get) {
14 return desc.get.call(receiver);
15 }
16
17 return desc.value;
18 };
19
20 module.exports["default"] = module.exports, module.exports.__esModule = true;
21 }
22
23 return _get(target, property, receiver || target);
24}
25
26module.exports = _get;
27module.exports["default"] = module.exports, module.exports.__esModule = true;
Note: See TracBrowser for help on using the repository browser.