I have one object like this
let ob1 = {
'item_data':{
  'stack':{
    'purchase':'12345',
    'order':'22222'
   }
  }
}
and another object like this
let ob2 = {
  'stack':{
    'purchase':'444444'
   }
 }
The resultant object should look like this
result = {
  'item_data':{
    'stack':{
      'purchase':'444444',
      'order':'22222'
     }
   }
 }
The code is in a nodejs application. I am wondering if there is any javascript library to do this kind of merge/replace objects in server side js.
Thanks for helping.
 
     
     
    