summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/xprop.js
blob: 9fdbb666370a0afe4459bbc92e6a36d5a2ee92c0 (plain)
1
2
3
4
5
6
7
8
function xprop()
{
  a = 0;
  for (var i = 0; i < 20; i++)
    a += 7;
  return a;
}
assertEq(xprop(), 140);