Source code
Revision control
Copy as Markdown
Other Tools
function f(...rest) {
function nested () {
return rest;
}
return nested;
}
assertEq(f(1, 2, 3)().toString(), [1, 2, 3].toString());
function f(...rest) {
function nested () {
return rest;
}
return nested;
}
assertEq(f(1, 2, 3)().toString(), [1, 2, 3].toString());