// 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 "Trap hit for hasOwnProperty, access # 0", exit 0 // after the fix: no stdout, exit 0 // finding 2026-10-17T21-09-20-346Z-6n46-biome-suspicious_noPrototypeBuiltins/r2-p005; rule fired 1 time(s) before the fix let accessCount = 0; const handler = { get(target, prop) { if (prop === 'hasOwnProperty') { console.log('Trap hit for hasOwnProperty, access #', accessCount); } return target[prop]; } }; const obj = new Proxy({ foo: 1 }, handler); obj.hasOwnProperty('foo');