Created
March 18, 2013 07:50
-
-
Save rumf/5185663 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getRandomInt(min, max) { | |
return min + Math.floor(Math.random() * (max - min + 1)); | |
} |
Same here
222
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the amount of times i just copy and paste this into my code is unmeasurable