summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/orNaNTest2.js
blob: 113fe038ffeecd11e3cdf30487c204d55c8537e6 (plain)
1
2
3
load(libdir + 'orTestHelper.js');
var orNaNTest2 = new Function("return orTestHelper(NaN, 1, 10);");
assertEq(orNaNTest2(), 45);