Last active
February 26, 2024 10:56
-
-
Save SeLub/0b4545517148b7eff91cc1a6a518c47c 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
| # Generate a UUID in the browser | |
| ``` | |
| const url = URL.createObjectURL(new Blob()); | |
| const UUID = url.substring(url.lastIndexOf('/') + 1); | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment