// fixhunt regression fixture: biome suspicious/noPrototypeBuiltins, 2.5.15 // the fix labelled safe changes the program's output on this program // before the fix: stdout "Direct call threw: TypeError Cannot read properties of null (reading 'hasOwnProperty')", exit 0 // after the fix: stdout "Direct call threw: TypeError Cannot convert undefined or null to object", exit 0 // finding 2026-10-17T21-09-20-346Z-6n46-biome-suspicious_noPrototypeBuiltins/r2-p001; rule fired 1 time(s) before the fix let obj = null; try { } catch (e) { } try { console.log(obj.hasOwnProperty('prop')); } catch (e) { console.log('Direct call threw:', e.name, e.message); }