Skip to content

Instantly share code, notes, and snippets.

@julienetie
Last active March 5, 2021 15:51
Show Gist options
  • Save julienetie/e499b8b33eb5e45cca89833b799bce2a to your computer and use it in GitHub Desktop.
Save julienetie/e499b8b33eb5e45cca89833b799bce2a to your computer and use it in GitHub Desktop.
Random range (max - min)
const randomRange = (min, max) => return Math.random() * (max - min) + min;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment