securityos/node_modules/fast-extend/index.js

10 lines
231 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
var slice = Array.prototype.slice;
exports.extend = function extend(a, b) {
for(var key in b) a[key] = b[key];
return arguments.length < 3
? a
: extend.apply(null, [a].concat(slice.call(arguments, 2)));
}