Skip to content

Instantly share code, notes, and snippets.

@kerimdzhanov
Forked from 6174/Random-string
Created April 9, 2018 11:42
Show Gist options
  • Select an option

  • Save kerimdzhanov/5cb48ac7fca8d9c705d789cd6f1d9b7a to your computer and use it in GitHub Desktop.

Select an option

Save kerimdzhanov/5cb48ac7fca8d9c705d789cd6f1d9b7a to your computer and use it in GitHub Desktop.

Revisions

  1. @6174 6174 created this gist Jul 23, 2013.
    2 changes: 2 additions & 0 deletions Random-string
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    //http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
    Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);