PageRenderTime 16ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/zpao/v8monkey
JavaScript | 7 lines | 7 code | 0 blank | 0 comment | 4 complexity | 50708bb1852f1332631af52fb56e920b MD5 | raw file
1var a = [];
2for (var i = 0; i < 9; i++)
3    a[i] = 0;
4var b = [x === "0" && true for (x in a)];
5assertEq(b[0], true);
6for (var i = 1; i < 9; i++)
7    assertEq(b[i], false);