deepMerge
Mixes two data objects in depth
Installation
Install package executing these command:
npm i deepmergefn
Usage
const deepMerge = ; const object1 = name: "John" lastname: "Doe" list: foo: 2 var: "aaa" ; const object2 = name: "John" age: 30 list: foobar: "lastaaa" ; const result = ;
Returns
Demo
You can test this package here
License
MIT