Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js convert array of arrays to array

// Converts array with multiple values into a single array with all items:
var merged = [].concat.apply([], arrays);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #convert #array #arrays #array
ADD COMMENT
Topic
Name
2+5 =