Feedback
Choose an option below
let flat = [].concat(...arr);
let flat = arr.map(innerArr => innerArr);
let flat = arr.reduce((acc, val) => acc.concat(val), []);
let flat = arr.flat();
Hint
1let arr = [[1, 2], [3, 4], [5]];