blob: adbe22a5abcc5927f0ba0d9453db8ea7f49dadb2 [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: Parse error.
PASS successfullyParsed is true
TEST COMPLETE