haikuwebkit/LayoutTests/js/arrowfunction-block-1-expec...

14 lines
276 B
Plaintext

Tests for ES6 arrow function declaration body as block
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
f = () => {}
PASS typeof f() is 'undefined'
g = () => ({})
PASS typeof g() is 'object'
PASS successfullyParsed is true
TEST COMPLETE