Skip to content

Instantly share code, notes, and snippets.

@imjakechapman
Created August 11, 2020 20:45
Show Gist options
  • Save imjakechapman/739cf00fad8f5902fac2ffcb33ab1de7 to your computer and use it in GitHub Desktop.
Save imjakechapman/739cf00fad8f5902fac2ffcb33ab1de7 to your computer and use it in GitHub Desktop.
function randomBetween(min, max) {
return 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