Probability of getting the same value using Math.random
The requirement is to send a unique id to database when user click on submit button. So I am using Javascript Math.random method. I just want to know what are the chances or possibility to get same number and what bit size of using Math.random.
Aucun commentaire:
Enregistrer un commentaire