Node.js examples for Number:Compare
Compare two numbers
Number.prototype.compareTo = function (other) { return this.valueOf() == other; };