random number between range code example
Example: random in range
// Get a random number between 20 and 30
Math.round((Math.random() * (30 - 20 + 1)) + 20);
// Get a random number between 20 and 30
Math.round((Math.random() * (30 - 20 + 1)) + 20);