8 lines
168 B
JavaScript
8 lines
168 B
JavaScript
|
module.exports = function (base, opts) {
|
||
|
var keys = Object.keys(opts)
|
||
|
for (var i = 0; i < keys.length; ++i) {
|
||
|
base[keys[i]] = opts[keys[i]]
|
||
|
}
|
||
|
return base
|
||
|
}
|