for (var i = 0; i < 3; i++) { var newTeam = randomNumber(0,30);
In this code, how do I make sure the randomly chosen numbers do not repeat? (for example: after 1 is being chosen, it will not be picked again)
Aucun commentaire:
Enregistrer un commentaire