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