Created
June 20, 2020 20:34
-
-
Save luislobo14rap/ac38479f4f80088a8a379f77c38bfd29 to your computer and use it in GitHub Desktop.
random-character.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
function randomCharacter(characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ') { | |
return characters[ Math.floor(Math.random() * characters.length) ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'0123456789!@#$%&*()_-+='