summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug618850.js
blob: 8c423d87b3c211dec95f0fb5188ff73cc047564b (plain)
1
2
3
4
5
6
function f() {
    var x = false;
    NaN ? x = Math.floor() : x = Math.ceil();
    return x * 12345;
}
assertEq(f(), NaN);