create random 4 digit number js

83

create random 4 digit number js -

var val = Math.floor(1000 + Math.random() * 9000);
console.log(val);

Comments

Submit
0 Comments