Created
December 27, 2016 02:23
-
-
Save bh-lay/1b7d6c2eaa7de589a0c3a9aed5e71051 to your computer and use it in GitHub Desktop.
简单的随机生成唯一标识方法
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 characters
| var randomFlag = (new Date().getTime()*100000 + Math.ceil( Math.random() * 100000 )).toString(36); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment