let arrays = [[1, 2, 3], [4, 5], [6]];

let array = arrays.reduce((a, b) => a.concat(b));
console.log(array);
// → [1, 2, 3, 4, 5, 6]

let arrays = [[1, 2, 3], [4, 5], [6]];

let array = arrays.reduce((a, b) => a.concat(b), []);
console.log(array);
// → [1, 2, 3, 4, 5, 6]

Add empty array as initial value
Add empty array as initial value
