title: how to merge two two objects with different depths dynamically
body: <p>I have two identical objects with me</p>
  <pre><code>let a  = {
    title : &quot;developer”,
    startDate:{ month :’jan’}
  }
  
  let b  = {
    title :{
      value: &quot;&quot;
    } ,
  startDate :{month:{value:””}}
  }
  </code></pre>
  <p>i need to merge dynamically these two to get object like below</p>
  <pre><code>let c  = {
    title :{
      value: &quot;developer&quot;
    } ,
  startDate:{
    month:{ value:” jan”}}
  }
  </code></pre>