Debian Codegraph @

js/src/jit-test/tests/fuses/popped-getiter.js

raw
1 // This will pop the getiter fuse.
2 Array.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
3
4 function f() {
5 [] = []
6 }
7
8 // We should nevertheless be able to pass this loop without crashing.
9 for (let i = 0; i < 100; i++) {
10 f();
11 }