This question already has an answer here:
Is there any other way to generate a random number from a specific range other than this:
Math.floor(Math.random() * (max - min + 1) + min);
Aucun commentaire:
Enregistrer un commentaire