Last active
April 27, 2018 07:50
-
-
Save arrbxr/f1bcc56e5fbeb00f52fea31998bf317e to your computer and use it in GitHub Desktop.
Generate Random Whole Numbers with JavaScript created by arrbxr - https://repl.it/@arrbxr/Generate-Random-Whole-Numbers-with-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 randomWholeNum() { | |
| // here random number is 0 to 100 | |
| return Math.floor(Math.random() * 100); | |
| } | |
| randomWholeNum(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment