DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
unique id generator javascript
const
uuid
=
(
Math
.
random
(
)
+
1
)
.
toString
(
36
)
.
substring
(
2
)
;
console
.
log
(
uuid
)
;
Source by github.com #
PREVIOUS
NEXT
Tagged:
#unique
#id
#generator
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit