function getRandomInt(min, max) {
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max-min)) + min
}
Created
February 24, 2020 14:48
-
-
Save shahab65/2b7ca9654d35bfc79b098f9b139aba06 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment