js random two specified values 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);
}
function randomInRange(min, max)
{
return Math.floor(Math.random() * (max - min + 1) + min);
}