Skip to content

Instantly share code, notes, and snippets.

@hossammourad
Last active April 2, 2019 11:04
Show Gist options
  • Save hossammourad/db8edf87ab43ed24ef4f9bc9520fb511 to your computer and use it in GitHub Desktop.
Save hossammourad/db8edf87ab43ed24ef4f9bc9520fb511 to your computer and use it in GitHub Desktop.
Generate random number between two numbers
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