Sign in
webkit
/
WebKit
/
5357a067b575eb5a07548594631025cdc8ae374e
/
.
/
JSTests
/
microbenchmarks
/
arguments.js
blob: f6ed1e0d2c46752eac60065422020542973d6252 [
file
] [
log
] [
blame
]
function
foo
()
{
return
arguments
[
0
];
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
var
result
=
foo
(
i
);
if
(
result
!=
i
)
throw
"Error: bad result: "
+
result
;
}