Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

append array to array javascript

var arr1 = ["Hello"," "];
var arr2 = ["World","!"];
var both = arr1.concat(arr2);
//both = ["Hello"," ","World","!"];
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #append #array #array #javascript
ADD COMMENT
Topic
Name
1+5 =