Search
 
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
Name
1+7 =