function randomRange(myMin, myMax) {
return Math.floor(Math.random()*(myMax-myMin+1)+myMin);
}
Created
August 29, 2016 13:54
-
-
Save GeekaholicLin/7683977ace4b686481fbe8c01157d397 to your computer and use it in GitHub Desktop.
create a random number between min and max
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment