Merge recursively merges object properties from all supplied objects with object values being merged recursively and other value types overridden when applied from left to right.
object
(object): input objectsources
(...object): input object(s)
(object): returns an object with all included object properties merged
const result = objects.merge({ hold: 25, your: 19 }, { a: 1, b: 2 });
console.log(result);
> { a: 1, b: 2, hold: 25, your: 19 }