Recursively merges own enumerable string keyed properties of source objects into the destination object. Object properties are merged recursively. Source objects are applied from left to right. Subsequent sources overwrite property assignments of previous sources.
Note: This function mutates object.
Differences from lodash:
will overwrite a value with undefined
only supports arguments that are objects
cannot handle circular references
when merging an array onto a non-array, the result is a non-array
Contribution to minified bundle size, when it is the only function imported:
Recursively merges own enumerable string keyed properties of source objects into the destination object. Object properties are merged recursively. Source objects are applied from left to right. Subsequent sources overwrite property assignments of previous sources.
Note: This function mutates
object
.Differences from lodash:
undefined
Contribution to minified bundle size, when it is the only function imported: