--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: valid.jsonc --- # Input ```cjs [0, [12], [[16]]].map(Number).flat(2); ``` # Input ```cjs array.flat().map(Number); ``` # Input ```cjs array.map(Number).flat(customFn); ``` # Input ```cjs MyObject.map(one, two, tree).flat(); ``` # Input ```cjs MyObject.map().flat(1, 'test') ```