Last active
April 2, 2019 11:04
-
-
Save hossammourad/db8edf87ab43ed24ef4f9bc9520fb511 to your computer and use it in GitHub Desktop.
Generate random number between two numbers
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
Math.floor(Math.random() * 100) + 1 | |
// 1 -> start | |
// 100 -> end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment