// fixhunt regression fixture: biome style/noUselessElse, 2.5.15 // the fix labelled safe changes the program's output on this program // before the fix: stdout "ReferenceError", exit 0 // after the fix: stdout "1", exit 0 // finding 2026-10-17T19-42-12-619Z-e4vp-biome-style_noUselessElse/r1-p007; rule fired 1 time(s) before the fix function main() { if (false) { return; } else { function f() { return 1; } } try { console.log(f()); } catch (e) { console.log(e.name); } } main();