summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/globalSet.js
blob: ceb2852d06a810d8eb1f38ef7552a157a4f3c4c3 (plain)
1
2
3
4
for (var i = 0; i < 500; i++)
  globalInt = i;

assertEq(globalInt, 499);