// fixhunt regression fixture: eslint no-array-constructor, 9.39.5 // the fix labelled safe changes the program's output on this program // before the fix: stdout "redefined", exit 0 // after the fix: stdout "literal", exit 0 // finding 2026-10-22T18-14-00-201Z-qgkx-eslint-no-array-constructor/r2-p007; rule fired 1 time(s) before the fix Array = function(...args) { return { length: args.length, custom: true }; }; const arr = Array(1, 2); console.log(arr.custom ? 'redefined' : 'literal');