// fixhunt regression fixture: biome complexity/useFlatMap, 2.5.15 // the fix labelled safe changes the program's output on this program // before the fix: no stdout, stderr "TypeError: arguments.map is not a function", exit 1 // after the fix: no stdout, stderr "TypeError: arguments.flatMap is not a function", exit 1 // finding 2026-10-17T20-12-00-746Z-4q9e-biome-complexity_useFlatMap/r1-p006; rule fired 1 time(s) before the fix function process(a, b = [], ...rest) { return arguments.map(x => [x]).flat(); } const res = process(1, 2, 3);