Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arguments
/
rest-in-Function.js
blob: e2966be6916cc940628b45c033b4db20870aa594 [
file
] [
log
] [
blame
]
h
=
Function
(
"a"
,
"b"
,
"c"
,
"...rest"
,
"return rest.toString();"
);
assertEq
(
h
.
length
,
3
);
assertEq
(
h
(
1
,
2
,
3
,
4
,
5
),
"4,5"
);