Javascript Number isDivisibleBy(num)

Description

Javascript Number isDivisibleBy(num)


Number.prototype.isDivisibleBy = function(num){

    return this % num === 0;


};



PreviousNext

Related