summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testUndefinedCmp.js
blob: 48a0dd5a10e197b88d6a0285ca4e2c3269f666da (plain)
1
2
3
4
5
6
function testUndefinedCmp() {
    var a = false;
    for (var j = 0; j < 4; ++j) { if (undefined < false) { a = true; } }
    return a;
}
assertEq(testUndefinedCmp(), false);