Created
July 16, 2018 09:10
-
-
Save Keirodev/fe56e89ecb254a2e335d76fd18c894a2 to your computer and use it in GitHub Desktop.
Generate Random letters in JS
This file contains hidden or 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
var f = '' | |
var r | |
for (let i = 1; i <= 1000; i++){ | |
r = Math.floor(Math.random() * (36-10) + 10) | |
f += ' ' + ((r).toString(36).toUpperCase()); | |
} | |
console.log(f); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment