source: trip-planner-front/node_modules/core-js/internals/create-non-enumerable-property.js

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

initial commit

  • Property mode set to 100644
File size: 438 bytes
Line 
1var DESCRIPTORS = require('../internals/descriptors');
2var definePropertyModule = require('../internals/object-define-property');
3var createPropertyDescriptor = require('../internals/create-property-descriptor');
4
5module.exports = DESCRIPTORS ? function (object, key, value) {
6 return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
7} : function (object, key, value) {
8 object[key] = value;
9 return object;
10};
Note: See TracBrowser for help on using the repository browser.