Here you can find the source of odd()
Number.prototype.odd = function(){ return ( ( this % 2 ) == 1 ) }
Number.prototype.isEven = function() { return !(this % 2);
Number.prototype.isOdd = function () { return new Boolean(this.valueOf()&1);
function isOdd(num) { if (typeof num === 'number') { return ((num % 2) === 1) || ((num % 2) === -1) ? true : false; else { throw 'Not a number'; console.log(isOdd(3)); ...
Number.prototype.isOdd = function() { return !!(this % 2);
Number.prototype.odd = function () { return (this % 2 == 1)
Number.prototype.isBetween = function(l,h){ return (this >= l.val() && this <= h.val());
Number.prototype.isBetween = function (min, max, inclusive) { return inclusive ? this >= min && this <= max : this > min && this < max; };
Number.prototype.isBetween = function isBetween(a, b) { if(a <= this) { return this <= b; return this >= b;
Number.prototype.even = function(){ return (this % 2 === 0); };