Created
March 28, 2022 11:49
-
-
Save Ormadont/5e0916a398339194a5f9cefb5655313d to your computer and use it in GitHub Desktop.
simple guid
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
const newGuid = Date.now().toString(36) + Math.random().toString(36).substring(2); | |
export default newGuid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment