PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/basic/globalGet.js

http://github.com/zpao/v8monkey
JavaScript | 6 lines | 5 code | 1 blank | 0 comment | 1 complexity | e59b9ecee0d1454759d237c8aaecf339 MD5 | raw file
1globalName = 907;
2var globalInt = 0;
3for (var i = 0; i < 500; i++)
4  globalInt = globalName + i;
5
6assertEq(globalInt, globalName + 499);