summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-584355.js
blob: 4ddfe65d35f1a1b8c600dcca4d03af876b59a105 (plain)
1
2
3
4
5
6
7
var actual;
var expect = "function f() { ff (); }";
function fun() {
    (new Function ("function ff () { actual = '' + ff. caller; } function f () { ff (); } f ();")) ();
}
fun();
reportCompare(expect, actual, "");