Nodejs Utililty Methods Random Int Number Get

List of utility methods to do Random Int Number Get

Description

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

Method

randomIntFromInterval(min,max)
Number.randomIntFromInterval = function(min,max) {
    return Math.floor(Math.random()*(max-min+1)+min);
};