Javascript: basic flatten (reduce example) Date: 2021-07-15 const flatten = (arr) => arr.reduce((flat, next) => flat.concat(next), []); Like224 Dislike28 517300cookie-checkJavascript: basic flatten (reduce example)no