title: Merging two javascript objects into one?
body: <p>I am trying to merge the following objects into one but having no luck so far - the structure is as follows in my console.log :</p>
  
  <pre><code>    2018-05-11 : {posts: 2} // var posts
      2018-05-11 : {notes: 1} // var notes
  </code></pre>
  
  <p>Once merged I want it to look like the following</p>
  
  <pre><code>2018-05-11 : {posts: 2, notes: 1}
  </code></pre>
  
  <p>I have tried object.assign() but it is just removing the initial posts data - what is the best approach for this?</p>