summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug685321-2.js
blob: 3cc6718cc50e9660d1aeff149f9054952e7d1eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
var o = {};
function f() {
    function g() {
        x = 80;
        return x;
    };
    Object.defineProperty(o, "f", {get:g});
    var [x] = [];
    x = {};
    2 + o.f;
    print(x);
}
f();