Created
June 1, 2018 00:13
-
-
Save gladchinda/bf8828b7d9198e301468ce2b85fc0bc3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 randomInteger(maxvalue) { | |
return 1 + Math.floor(Math.random() * maxvalue); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment