Nodejs Utililty Methods Random Number Get

List of utility methods to do Random Number Get

Description

The list of methods to do Random Number Get are organized into topic(s).

Method

randomMax()
Number.prototype.randomMax = function() {
    return Math.floor(Math.random() * (this.valueOf() + 1));