Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js merge 2 lists

var array1 = ["Vijendra", "Singh"];
var array2 = ["Singh", "Shakya"];

console.log(array1.concat(array2));
// output: ["Vijendra", "Singh", "Singh", "Shakya"]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #merge #lists
ADD COMMENT
Topic
Name
1+8 =