mirror of https://github.com/tc39/test262.git
15 lines
235 B
JavaScript
15 lines
235 B
JavaScript
|
function bar(o) {
|
||
|
for (let i = 0; i < 2; i++)
|
||
|
o[i] = undefined;
|
||
|
o.length = undefined;
|
||
|
return o;
|
||
|
}
|
||
|
|
||
|
function foo(a) {
|
||
|
bar(a);
|
||
|
undefined + bar(0) + bar(0);
|
||
|
for(let i = 0; i < 10000000; i++) {}
|
||
|
}
|
||
|
|
||
|
foo({});
|