Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arguments
/
args2b.js
blob: aa477863e746d0a3c5a443aa78f0deb162c0eaa8 [
file
] [
log
] [
blame
]
actual
=
''
;
expected
=
'g 0,g 1,g 2,g 3,g 4,'
;
function
g
(
x
)
{
appendToActual
(
'g '
+
x
);
}
function
f
()
{
g
.
apply
(
this
,
arguments
);
}
for
(
var
i
=
0
;
i
<
5
;
++
i
)
{
f
(
i
);
}
assertEq
(
actual
,
expected
)