[["510", "511", "512", "513"], ["514", "515"]]
I need to merge this into one.
It should look like this:
["510", "511", "512", "513", "514", "515"]
Can anyone help me with this using javascript ?
[["510", "511", "512", "513"], ["514", "515"]]
I need to merge this into one.
It should look like this:
["510", "511", "512", "513", "514", "515"]
Can anyone help me with this using javascript ?
Try this -
var array1 = ["510", "511", "512", "513"]
var array2 = ["514", "515"]
var concatArray = array1.concat(array2);
Hope this helps