Skip to content

Instantly share code, notes, and snippets.

@Ivannnnn
Created January 4, 2020 14:57
Show Gist options
  • Save Ivannnnn/800db8249cedf0fc66eec06ee3c72eeb to your computer and use it in GitHub Desktop.
Save Ivannnnn/800db8249cedf0fc66eec06ee3c72eeb to your computer and use it in GitHub Desktop.
const randomBetween = (min, max) =>
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