source: imaps-frontend/node_modules/core-js/internals/create-non-enumerable-property.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

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