comparison: js/src/jit-test/tests/arrow-functions/block-2.js
js/src/jit-test/tests/arrow-functions/block-2.js
- branch
- TOR_BUG_9701
- changeset 15
- b8a032363ba2
equal
deleted
inserted
replaced
|
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); |