Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arguments
/
rest-nested.js
blob: 0ad82e54757796da58a8583abf66afd7ec6087b8 [
file
] [
log
] [
blame
]
function
f
(...
rest
)
{
function
nested
()
{
return
rest
;
}
return
nested
;
}
assertEq
(
f
(
1
,
2
,
3
)().
toString
(),
[
1
,
2
,
3
].
toString
());