blob: 799980413614de5b8f1c4e1b5591c92aff670a7c [file] [log] [blame]
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