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 13
- 44a2da4a2ab2
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); |