// fixhunt regression fixture: biome complexity/noUselessUndefined, 2.5.15 // the fix labelled safe changes the program's output on this program // before the fix: stdout "42", exit 0 // after the fix: stdout "undefined", exit 0 // finding 2026-10-17T20-09-08-973Z-61rc-biome-complexity_noUselessUndefined/r1-p006; rule fired 1 time(s) before the fix let log = []; (function(){ var undefined = 42; // shadowing let x = undefined; // rule triggers: removes this line log.push(String(x)); })(); try { } catch(e) { } console.log(log.join(' | '));