1 2 3 4 5 6
// (a) => expr var f = (a) => 2 * a; // parens are allowed assertEq(f(12), 24); var g = (a, b) => a + b; assertEq([1, 2, 3, 4, 5].reduce((a, b) => a + b), 15);