Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
36 lines
869 B
JavaScript
36 lines
869 B
JavaScript
// Module ID: 13035
|
|
// Function ID: 13036
|
|
// Dependencies: []
|
|
// Exports: flatten
|
|
|
|
// Module 13035
|
|
|
|
export const flatten = function flatten(arr) {
|
|
const items = [];
|
|
const item = arr.forEach((arr) => {
|
|
if (Array.isArray(arr)) {
|
|
let item = arr.forEach((arr) => {
|
|
if (Array.isArray(arr)) {
|
|
let item = arr.forEach((arr) => {
|
|
if (Array.isArray(arr)) {
|
|
let item = arr.forEach((arr) => {
|
|
if (Array.isArray(arr)) {
|
|
let item = arr.forEach(() => { ... });
|
|
} else {
|
|
closure_1_0.push(arr);
|
|
}
|
|
});
|
|
} else {
|
|
closure_1_0.push(arr);
|
|
}
|
|
});
|
|
} else {
|
|
closure_1_0.push(arr);
|
|
}
|
|
});
|
|
} else {
|
|
closure_1_0.push(arr);
|
|
}
|
|
});
|
|
return items;
|
|
};
|