Created
July 15, 2020 20:44
-
-
Save shaneturner/3b9975596343de465863f5429ff5c436 to your computer and use it in GitHub Desktop.
Generates randon hex string for use as UUID. Quick-n-dirty.
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
/* Generates randon hex string for use as UUID. Quick-n-dirty. */ | |
Math.random().toString(16).slice(2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment