haikuwebkit/LayoutTests/js/dom/function-name-is-in-scope-e...

8 lines
227 B
Plaintext

This tests verifies the scope of a function's name.
PASS: f.name == 'f' should be true and is.
PASS: f == 1 should be true and is.
PASS: g.name == 'g' should be true and is.
PASS: g == arguments.callee should be true and is.