Sign in
webkit
/
WebKit
/
5969b6f1f74632b1546edb27bd956b187c2c3d52
/
.
/
JSTests
/
microbenchmarks
/
arguments-strict-mode.js
blob: c941ff4a7ea2f3e8bcce0628c139e4ba9421b2cd [
file
] [
log
] [
blame
]
function
foo
()
{
"use strict"
;
return
[...
arguments
];
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
200000
;
++
i
)
{
var
result
=
foo
(
i
);
if
(
result
[
0
]
!=
i
)
throw
"Error: bad result: "
+
result
;
}