And if you implement, e.g.:
function IsEven(x) { return x % 2 == 0; } function IsOdd(x) { return x % 2 == 1; }
And if you implement, e.g.:
Then IsEven(Infinity) == false and IsOdd(Infinity) == false, as expected.