Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created August 2, 2020 03:56
Show Gist options
  • Save parzibyte/00d1ffcec4abffa9cbc204b9012d3e0e to your computer and use it in GitHub Desktop.
Save parzibyte/00d1ffcec4abffa9cbc204b9012d3e0e to your computer and use it in GitHub Desktop.
const obtenerNumeroAleatorioEnRango = (min, max) => {
return 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