Javascript Number between(min, max)

Description

Javascript Number between(min, max)


Number.prototype.between = function(min, max) {
    "use strict";
    return this >= min && this <= max;
}



PreviousNext

Related