Skip to content

Instantly share code, notes, and snippets.

@shaneturner
Created July 15, 2020 20:44
Show Gist options
  • Save shaneturner/3b9975596343de465863f5429ff5c436 to your computer and use it in GitHub Desktop.
Save shaneturner/3b9975596343de465863f5429ff5c436 to your computer and use it in GitHub Desktop.
Generates randon hex string for use as UUID. Quick-n-dirty.
/* 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