_redefine-all.js 224 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 var hide = require('./_hide'); module.exports = function (target, src, safe) { for (var key in src) { if (safe && target[key]) target[key] = src[key]; else hide(target, key, src[key]); } return target; };