Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arguments
/
args-sum.js
blob: 04946e0fe803a877237ac2ca1d03398100962425 [
file
] [
log
] [
blame
]
actual
=
''
;
expected
=
'666,'
;
function
h
()
{
var
ans
=
0
;
for
(
var
i
=
0
;
i
<
arguments
.
length
;
++
i
)
{
ans
+=
arguments
[
i
];
}
return
ans
;
}
var
q
=
h
(
600
,
60
,
6
);
appendToActual
(
q
);
assertEq
(
actual
,
expected
)