1 2 3 4 5 6 7
function foo(x) { for (var i = 0x7ffffff0; i <= x; i++) { var y = (i % -2147483648); } return y + 5; } assertEq(foo(0x7fffffff), 0x7fffffff + 5);