// fixhunt regression fixture: biome complexity/noUselessUndefinedInitialization, 2.5.15 // the fix labelled safe changes the program's output on this program // before the fix: stdout "After redeclaration: undefined number", exit 0 // after the fix: stdout "After redeclaration: assigned number", exit 0 // finding 2026-10-17T20-10-15-247Z-vb8k-biome-complexity_noUselessUndefinedInitialization/r1-p007; rule fired 1 time(s) before the fix function commaTest() { a = 'assigned'; if (true) { var a = undefined, c = 2; // Rule triggers again } console.log('After redeclaration:', a, typeof c); } commaTest();