javascript generate a random number between two numbers thats not 1 code example
Example: javascript generate a random number between two numbers thats not 1
function randomInRange(min, max)
{
return Math.floor(Math.random() * (max - min + 1) + min);
}