有一个数组a和一个数组b,该怎么拼接成c数组,JS和jQuery都可以
var a=[
{id:111,city:'qq'},
{id:222,city:'qq'},
{id:333,city:'zz'},
{id:444,city:'zz'}
]
var b=[
{id:111,city:'qq'},
{id:909,city:'qq'},
{id:404,city:'aa'},
{id:222,city:'ss'}
]
var c=[
{id:111,city:'qq'},
{id:222,city:'qq'},
{id:333,city:'zz'},
{id:444,city:'zz'},
{id:909,city:'qq'},
{id:404,city:'aa'}
]