flatten.js 206 Bytes Raw Blame History Permalink 1 2 3 4 5 6 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function flatten(matrix) { return matrix.reduce((flatten, array) => flatten.concat(array), []); } exports.default = flatten;