array in array to array js code example
Example 1: js convert array of arrays to array
// Converts array with multiple values into a single array with all items:
var merged = [].concat.apply([], arrays);
Example 2: javascript to array
Array.from("Hello"); // ["H", "e", "l", "l", "o"]