Get Random Whole Numbers within a Range – JS
Here is a simple Javascript code which gives you a random whole number within the given range of numbers: where, maxNum is the upper limit and minNum is the lower limit of the range, and they are inclusive.