Last active
December 18, 2017 07:44
-
-
Save saeedghx68/fe1a7ccd5885f85b8cd6e6ba872af7d5 to your computer and use it in GitHub Desktop.
Revisions
-
saeedghx68 revised this gist
Dec 18, 2017 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,2 @@ import _ from 'lodash' String.fromCharCode(_.random(65,90)) + '-' + (+new Date()).toString().substr(1).match(/.{4}/g).join('-') -
saeedghx68 created this gist
Dec 18, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ String.fromCharCode(Math.floor(Math.random() * (90 - 65) + 65)) + '-' + (+new Date()).toString().substr(1).match(/.{4}/g).join('-')