source:
frontend/node_modules/fork-ts-checker-webpack-plugin/lib/utils/array/flatten.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 206 bytes | |
| Line | |
|---|---|
| 1 | "use strict"; |
| 2 | Object.defineProperty(exports, "__esModule", { value: true }); |
| 3 | function flatten(matrix) { |
| 4 | return matrix.reduce((flatten, array) => flatten.concat(array), []); |
| 5 | } |
| 6 | exports.default = flatten; |
Note:
See TracBrowser
for help on using the repository browser.
