Source code
Revision control
Copy as Markdown
Other Tools
// => binds tighter than ,
var f, g;
g = (f, h => h + 1); // sequence expression: (f, (h => h + 1))
assertEq(g.length, 1);
assertEq(g(37), 38);
// => binds tighter than ,
var f, g;
g = (f, h => h + 1); // sequence expression: (f, (h => h + 1))
assertEq(g.length, 1);
assertEq(g(37), 38);