summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-569306.js
blob: 22178218694557a3729134630b1de3018a8865e3 (plain)
1
2
3
4
5
6
7
8
9
10
function f() {}
var g = new Function();
delete Function;
function h() {}

assertEq(f.__proto__, g.__proto__);
assertEq(g.__proto__, h.__proto__);
assertEq(false, "Function" in this);

reportCompare("ok", "ok", "bug 569306");