summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug600424.js
blob: f6044941de03218feeffd1379f515770134dbc7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function f(a) {
    var x = {
        g: function () {
            return this.a;
        }
    };
    x.g.prototype.a = a;
    assertEq(x.g.prototype.a, a);
    return x;
}
f(1);
f(2);
f(3);