a = [
{"id":"1"},
{"id":"2"}
]
b = [
{"id":"3"},
{"id":"4"}
]
a = a.concat(b)
结果:
a = [
{"id":"1"},
{"id":"2"},
{"id":"3"},
{"id":"4"}
]
a = [
{"id":"1"},
{"id":"2"}
]
b = [
{"id":"3"},
{"id":"4"}
]
a = a.concat(b)
结果:
a = [
{"id":"1"},
{"id":"2"},
{"id":"3"},
{"id":"4"}
]