Created
December 11, 2013 14:08
-
-
Save firstclown/7911013 to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/3231459/create-unique-id-with-javascript Generate an 8 character hex random uid.
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
var id = Math.random().toString(16).slice(2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment