flatten.js 206 Bytes
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function flatten(matrix) {
    return matrix.reduce((flatten, array) => flatten.concat(array), []);
}
exports.default = flatten;