Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arguments
/
args7.js
blob: 5d713e81acc056a25319131addebc9581a67a460 [
file
] [
log
] [
blame
]
actual
=
''
;
expected
=
'5,4,3,2,1,'
;
function
f
()
{
while
(
arguments
.
length
>
0
)
{
appendToActual
(
arguments
[
arguments
.
length
-
1
]);
arguments
.
length
--;
}
}
f
(
1
,
2
,
3
,
4
,
5
);
assertEq
(
actual
,
expected
)