summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-584355.js
blob: 7d1b81a2ec069ccfb8f1722f5dc6fc313221282b (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, "");