@ersinfotech/merge
v1.0.0
Published
merge
Downloads
8
Readme
merge
concat array and merge object
Usage
var merge = require('@ersinfotech/merge');
var result = merge({
a: [1],
b: 1,
c: 1
}, {
a: [2],
b: 2,
d: 2
});
// result
{
a: [1, 2],
b: 2,
c: 1,
d: 2
}