DEV Community

Discussion on: How to merge object in javascript

Collapse
 
emmanuel_dal profile image
Emmanuel Dalougou

The trouble is that here he will check the value of each key. once the value of a key is different from the previous one then it will remove the old value to keep the new value. whatever the nested objects it will do the same process