github-pages-deploy-action/node_modules/core-js-pure/internals/redefine.js

7 lines
266 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08: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);
};