Javascript Number compareTo(other)

Description

Javascript Number compareTo(other)


Number.prototype.compareTo = function (other) {
    return this.valueOf() == other;
};



PreviousNext

Related