Combinar dos matrices json / javascript en una matriz
Tengo dos matrices de json como
<code>var json1 = [{id:1, name: 'xxx' ...}] var json2 = [{id:2, name: 'xyz' ...}] </code>
Quiero que se fusionen en matrices individuales
<code>var finalObj = [{id:1, name: 'xxx' ...},{id:2, name: 'xyz' ...}] </code>
Saludos