Q:

lodash merge array of objects without duplicates

var c = _.map(a, function(obj) {
    return _.assign(obj, _.find(b, {parentId: obj.aId}));
})
0

New to Communities?

Join the community