blob: 12d58300c4f3fe7db01e2b3dbb44afaa416b740d [file] [log] [blame]
description(
"This test ensures we correctly parse (or not) various function declarations"
);
shouldBeUndefined("eval('function f(){return true;}')");
shouldBeTrue("eval('function f(){return true;};f')()");
shouldThrow("eval('function(){return false;}')()");