displaying random numbers starting with zero in JavaScript
I'm working on a random pin generating project with javascript. I want to generate random pins like 0351, 0947, 0268 etc. using Math.random() where the pin will start with 0 & the zero will be displayed in the output. how can I do that?
Aucun commentaire:
Enregistrer un commentaire