summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testMethodInc.js
blob: f283f8406694ccfecab4d47cf4474b8305d58dd6 (plain)
1
2
3
4
5
for (var i = 0; i < 9; i++) {
    var x = {f: function() {}};
    x.f++;
    assertEq(""+x.f, "NaN");
}