javascript - merging arrays into one [["510", "511", "512", "513"], ["514", "515"]] -


[["510", "511", "512", "513"], ["514", "515"]] 

i need merge one.

it should this:

["510", "511", "512", "513", "514", "515"] 

can me using javascript ?

try -

      var array1 =  ["510", "511", "512", "513"]        var array2 =  ["514", "515"]         var concatarray = array1.concat(array2); 

hope helps


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Passing Variables from AngelScript to C++ -