Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript concat two arrays

//ES6
const array3 = [...array1, ...array2];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #concat #arrays
ADD COMMENT
Topic
Name
9+8 =