test262/implementation-contributed/javascriptcore/stress/exitok-is-not-the-same-as-m...

20 lines
362 B
JavaScript

//@ runDefault("--useAccessInlining=0")
function bar(ranges) {
for (const [z] of ranges) {
let ys = [];
for (y = 0; y <= 100000; y++) {
ys[y] = false;
}
}
}
function foo() {
let iterator = [][Symbol.iterator]();
iterator.x = 1;
}
bar([ [], [], [], [], [], [], [], [], [], [], [] ]);
foo();
bar([ [], [] ]);