js/src/jit-test/tests/arrow-functions/block-2.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:b49e0266e529
1 // Block arrow functions don't return the last expression-statement value automatically.
2
3 var f = a => { a + 1; };
4 assertEq(f(0), undefined);

mercurial