source: trip-planner-front/node_modules/@babel/runtime/helpers/defineProperty.js@ 1ad8e64

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

initial commit

  • Property mode set to 100644
File size: 367 bytes
RevLine 
[6a3a178]1function _defineProperty(obj, key, value) {
2 if (key in obj) {
3 Object.defineProperty(obj, key, {
4 value: value,
5 enumerable: true,
6 configurable: true,
7 writable: true
8 });
9 } else {
10 obj[key] = value;
11 }
12
13 return obj;
14}
15
16module.exports = _defineProperty;
17module.exports["default"] = module.exports, module.exports.__esModule = true;
Note: See TracBrowser for help on using the repository browser.