summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testNullRelCmp.js
blob: 4531ea2c825f28e11548f071aaff9e52b03f606e (plain)
1
2
3
4
5
6
function testNullRelCmp() {
    var out = [];
    for(j=0;j<3;++j) { out.push(3 > null); out.push(3 < null); out.push(0 == null); out.push(3 == null); }
    return out.join(",");
}
assertEq(testNullRelCmp(), "true,false,false,false,true,false,false,false,true,false,false,false");