Opal-Estate-Pro/node_modules/core-js/modules/_hide.js

9 lines
286 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
var dP = require('./_object-dp');
var createDesc = require('./_property-desc');
module.exports = require('./_descriptors') ? function (object, key, value) {
return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};