GoScrobble/web/node_modules/core-js-pure/internals/redefine.js

7 lines
266 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
module.exports = function (target, key, value, options) {
if (options && options.enumerable) target[key] = value;
else createNonEnumerableProperty(target, key, value);
};