Skip to content

Instantly share code, notes, and snippets.

@VinnyFonseca
Last active December 7, 2017 12:35
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 VinnyFonseca/5968724 to your computer and use it in GitHub Desktop.
Save VinnyFonseca/5968724 to your computer and use it in GitHub Desktop.
Randomize
const rand = (min, max) => Math.floor(Math.random() * (max - min)) + min;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment