summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug732693.js
blob: d82da1e24efe50752d6e3def08998b7c6daa8f4d (plain)
1
2
3
4
5
6
7
8
9
10
var res = 0;
var o = {__proto__: function() { res++; }};

function f() {
    for (var i=0; i<70; i++) {
        o.__proto__();
    }
}
f();
assertEq(res, 70);