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

9 lines
273 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
var redefine = require('../internals/redefine');
module.exports = function (target, src, options) {
for (var key in src) {
if (options && options.unsafe && target[key]) target[key] = src[key];
else redefine(target, key, src[key], options);
} return target;
};