Skip to content

Instantly share code, notes, and snippets.

@Keirodev
Created July 16, 2018 09:10
Show Gist options
  • Save Keirodev/fe56e89ecb254a2e335d76fd18c894a2 to your computer and use it in GitHub Desktop.
Save Keirodev/fe56e89ecb254a2e335d76fd18c894a2 to your computer and use it in GitHub Desktop.
Generate Random letters in JS
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