Created
September 19, 2020 23:07
-
-
Save lenivene/2583ce1bc84e221c672729e2da2059df to your computer and use it in GitHub Desktop.
Generate random numbers in JavaScript
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 generate_number(){ | |
return Math.floor(Math.random() * Number.MAX_SAFE_INTEGER); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment