Created
August 30, 2018 09:51
-
-
Save orjahren/63af0cf4a83d57c8b53ea8cdf541137a to your computer and use it in GitHub Desktop.
This will give you a random char using JavaScript :-)
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
getRandomChar = () => { | |
return String.fromCharCode(Math.round(Math.random()*(90-65)+65)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment