js bring all inner arrays to 1 code example
Example: js convert array of arrays to array
// Converts array with multiple values into a single array with all items:
var merged = [].concat.apply([], arrays);
// Converts array with multiple values into a single array with all items:
var merged = [].concat.apply([], arrays);