1 2 3 4 5
// Rest parameters are allowed in arrow functions. var A = (...x) => x; assertEq(A().toSource(), "[]"); assertEq("" + A(3, 4, 5), "3,4,5");