summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/pic/set1.js
blob: 58db0a3f0d30671a934b9085436077a52388759c (plain)
1
2
3
4
5
6
7
8
9
10
11
function f() {
    var o = { a: 5 };

    for (var i = 0; i < 5; ++i) {
	o.a = i;
    }

    assertEq(o.a, 4);
}

f();