haikuwebkit/LayoutTests/js/arrowfunction-constructor-e...

11 lines
308 B
Plaintext

Tests for ES6 arrow function no constructor
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS new simpleArrowFunction() threw exception TypeError: function is not a constructor (evaluating 'new simpleArrowFunction()').
PASS successfullyParsed is true
TEST COMPLETE