generate four random digits in js code example
Example: javascript random 4 digit number
var seq = (Math.floor(Math.random() * 10000) + 10000).toString().substring(1);
console.log(seq);
var seq = (Math.floor(Math.random() * 10000) + 10000).toString().substring(1);
console.log(seq);