mirror of https://github.com/tc39/test262.git
20 lines
384 B
JavaScript
20 lines
384 B
JavaScript
//@ runDefault("--useConcurrentJIT=0", "--usePutStackSinking=0")
|
|
|
|
function foo() {
|
|
var args1 = function () {
|
|
return arguments;
|
|
}();
|
|
var args2 = function () {
|
|
var result = arguments;
|
|
result.length = 1;
|
|
return result;
|
|
}(1);
|
|
for (var i = 0; i < 10000000; ++i) {
|
|
args1.length;
|
|
args2.length;
|
|
}
|
|
}
|
|
foo();
|
|
foo();
|
|
foo();
|