Skip to content

Instantly share code, notes, and snippets.

@Otto-Vector
Last active May 27, 2022 08:37
Show Gist options
  • Save Otto-Vector/2f04e580f6a311c73f4f7aa8a60b28f2 to your computer and use it in GitHub Desktop.
Save Otto-Vector/2f04e580f6a311c73f4f7aa8a60b28f2 to your computer and use it in GitHub Desktop.
randMinMax
const randMinMax = (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