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

    for (var j = 0; j < 10; ++j) {
	var i = o.a = 100 + j;
	assertEq(i, 100 + j);
    }
}

f()