Skip to content

Instantly share code, notes, and snippets.

@ronaiza-cardoso
Created February 15, 2018 17:35
Show Gist options
  • Save ronaiza-cardoso/ea646c4b34e503b031931abdb5a9fcdc to your computer and use it in GitHub Desktop.
Save ronaiza-cardoso/ea646c4b34e503b031931abdb5a9fcdc to your computer and use it in GitHub Desktop.
just a random function
const random = (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