Skip to content

Instantly share code, notes, and snippets.

@Xaz16
Last active March 15, 2018 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xaz16/599d8dec07b710bd714b9cd40dd306ab to your computer and use it in GitHub Desktop.
Save Xaz16/599d8dec07b710bd714b9cd40dd306ab to your computer and use it in GitHub Desktop.
Random in range
Math.floor(Math.random() * (max - min + 1)) + min
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment