How can I merge arrays that are on the same key javascript?
<p>How can I merge these two objects in javascript?</p>

<pre><code>h1 = {12: [{actor: 'wayne'}, {actor: 'bill'}], 13: [{actor: 'james'}]}
h2 = {13: [{actor: 'mark'}]}
</code></pre>

<p>to get:</p>

<pre><code>result = {12: [{actor: 'wayne'}, {actor: 'bill'}], 13: [{actor: 'james'}, {actor: 'mark'}]}
</code></pre>

<p>Basically I want to concat the arrays, based on the keys of the objects.</p>
