summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug702572.js
blob: 50595d09e571438c4652f1dc45b384c00b11de40 (plain)
1
2
3
4
5
6
7
8
9
10
eval("function f() { function g() {} return g; }");
assertEq(f().prototype !== f().prototype, true);

function f1() {
    function g1() {
        function h1() { return h1; }
    }
    return g1;
}
assertEq(f1().prototype !== f1().prototype, true);