Created
September 4, 2019 22:00
-
-
Save suissa/b265e17014dc60e482611c5681614f40 to your computer and use it in GitHub Desktop.
Gerador de sequência de números aleatórios baseados em um tamanho
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getRandomNumberSequence = ( size = 4 ) => | |
Math.floor( | |
Math.random() * ( Number( `1e${size}` ) ) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment