Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript concat two arrays

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