blob: 7fc5b13a2727742d4965eadb6a0a2a27be42651b [file] [log] [blame]
function assert(b) {
if (!b)
throw new Error;
}
function main() {
let result;
const v13 = [0, 0];
Array.prototype[-80887344] = v13;
const func = (i, ...rest) => {
result = rest[i];
};
noInline(func);
for (let v30 = 0; v30 < 10000; v30++) {
func(0);
}
func(-80887344);
assert(result === v13);
}
noDFG(main);
main();