blob: af09ffc5d0b8328cf159a6fe86482ead6d90cbb1 [file] [log] [blame]
This test ensures we correctly parse (or not) various function declarations
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS eval('function f(){return true;}') is undefined.
PASS eval('function f(){return true;};f')() is true
PASS eval('function(){return false;}')() threw exception SyntaxError: Unexpected token '('.
PASS successfullyParsed is true
TEST COMPLETE