Source code

Revision control

Copy as Markdown

Other Tools

// Block arrow functions don't return the last expression-statement value automatically.
var f = a => { a + 1; };
assertEq(f(0), undefined);