Skip to content

Instantly share code, notes, and snippets.

@emersondemetrio
Created October 22, 2018 17:04
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 emersondemetrio/f1b7896f6381cac977eee4bbea7afbd7 to your computer and use it in GitHub Desktop.
Save emersondemetrio/f1b7896f6381cac977eee4bbea7afbd7 to your computer and use it in GitHub Desktop.
Random Number Between Range
const rnb = (max, min) => 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