Javascript Number isDivisibleBy(denominator)

Description

Javascript Number isDivisibleBy(denominator)


Number.prototype.isDivisibleBy = function (denominator) {
    return this % denominator == 0;
}



PreviousNext

Related