Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | function f(...rest) { |
michael@0 | 2 | function nested () { |
michael@0 | 3 | return rest; |
michael@0 | 4 | } |
michael@0 | 5 | return nested; |
michael@0 | 6 | } |
michael@0 | 7 | assertEq(f(1, 2, 3)().toString(), [1, 2, 3].toString()); |