// 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 "Original threw: TypeError : obj.hasOwnProperty is not a function", exit 0 // after the fix: no stdout, exit 0 // finding 2026-10-17T21-09-20-346Z-6n46-biome-suspicious_noPrototypeBuiltins/r2-p007; rule fired 1 time(s) before the fix const obj = {}; Object.defineProperty(obj, 'hasOwnProperty', { value: 42, writable: false }); try { obj.hasOwnProperty('x'); } catch (e) { console.log('Original threw:', e.name, ':', e.message); } try { } catch (e) { }