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

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:5746b4bb4f45
1 function testDoubleComparison()
2 {
3 for (var i = 0; i < 500000; ++i)
4 {
5 switch (1 / 0)
6 {
7 case Infinity:
8 }
9 }
10
11 return "finished";
12 }
13 assertEq(testDoubleComparison(), "finished");

mercurial