Skip to content

Instantly share code, notes, and snippets.

@MauricioRobayo
Created June 8, 2021 23:04
Show Gist options
  • Select an option

  • Save MauricioRobayo/a833a0d2cfa1180d71d4585883d8f2b0 to your computer and use it in GitHub Desktop.

Select an option

Save MauricioRobayo/a833a0d2cfa1180d71d4585883d8f2b0 to your computer and use it in GitHub Desktop.
#gogofast
const randBetween = (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