Created
January 12, 2021 19:42
-
-
Save inodaf/a0decb7a7e3be2779108eeb16f1fe795 to your computer and use it in GitHub Desktop.
Generate an Array with Random Numbers in JavaScript
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 generate = (length = 1000) => Array(length).fill().map(() => | |
Math.floor(Math.random() * Math.floor(100)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment