Simply provide an empty object as the target (merge
supports more than one source
value):
var result = _.merge({}, obj, source);
Simply provide an empty object as the target (merge
supports more than one source
value):
var result = _.merge({}, obj, source);