DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript random 4 digit number
var seq = (Math.floor(Math.random() * 10000) + 10000).toString().substring(1); console.log(seq);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#random
#digit
#number
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit