summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/optimize-globals-3.js
blob: eb2474c45bdf4d17b99d25975fb0e6b32f5ec9f9 (plain)
1
2
3
4
5
6
7
8
9
NaN = 4;
undefined = 5;
Infinity = 6;

assertEq(isNaN(NaN), true);
assertEq(Infinity > 100, true);
assertEq(undefined != 5, true);