Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created November 9, 2021 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/e74b22d3c74bccea3ff83b08831d00ea to your computer and use it in GitHub Desktop.
Save parzibyte/e74b22d3c74bccea3ff83b08831d00ea 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