summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug703857.js
blob: dcdcc1e1f15daed0327eed795bcebf88b7d265ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Function.prototype.X = 42;
function ownProperties() {
    var props = {};
    var r = function () {};
    for (var a in r) {
        {
            let a = function() { for (var r=0;r<6;++r) ++a; };
            a();
        }
        props[a] = true;
    }
}
ownProperties();