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 10
- ac0c01689b40
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); |