title: typescript merge 2 arrays of objects by combining values of the ojects with the same key
body: <p>Is there a proper way to merge 2 arrays which are consist of the objects with the same (though not exactly) keys and corresponding numeric values?</p>
  
  <p>As the result i need an array with the sum of objects where the values for the same keys are combined.
  Keys are dates (<code>Date()</code>). each date have corresponding number.</p>
  
  <p><strong>Example:</strong></p>
  
  <pre><code>const series_0 = [
    {
      'value': 3000,
      'name': '2016-09-20T20:23:48.426Z'
    },
    {
      'value': 6000,
      'name': '2016-09-21T08:58:04.100Z'
    },
    {
      'value': 4000,
      'name': '2016-09-21T05:21:08.317Z'
    },
    {
      'value': 6000,
      'name': '2016-09-19T11:26:36.302Z'
    },
    {
      'value': 5000,
      'name': '2016-09-16T11:26:19.165Z'
    }
  ]
  
  const series_1 = [
    {
      'value': 3000,
      'name': '2016-09-20T20:23:48.426Z'
    },
    {
      'value': 1500,
      'name': '2016-09-21T08:58:04.100Z'
    },
    {
      'value': 8000,
      'name': '2016-09-19T11:26:36.302Z'
    },
  ]
  </code></pre>
  
  <p><strong>desired result:</strong></p>
  
  <pre><code>let result = [
    {
      'value': 6000,
      'name': '2016-09-20T20:23:48.426Z'
    },
    {
      'value': 7500,
      'name': '2016-09-21T08:58:04.100Z'
    },
    {
      'value': 4000,
      'name': '2016-09-21T05:21:08.317Z'
    },
    {
      'value': 6000,
      'name': '2016-09-19T11:26:36.302Z'
    },
    {
      'value': 13000,
      'name': '2016-09-16T11:26:19.165Z'
    }
  ]
  </code></pre>
  
  <p>Thank you!</p>