Part of a library of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.
import flatten from 'just-flatten-it';
flatten([[1, [2, 3]], [[4, 5], 6, 7, [8, 9]]]);
// [1, 2, 3, 4, 5, 6, 7, 8, 9]8000
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
<
49B9
div class="react-directory-filename-cell"> | ||||
Part of a library of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.
import flatten from 'just-flatten-it';
flatten([[1, [2, 3]], [[4, 5], 6, 7, [8, 9]]]);
// [1, 2, 3, 4, 5, 6, 7, 8, 9]