I know that you might think that this is a repetitive question, but no. How do you have a global variable inside a function and keep the random number? Like var randomNum = round(random(1, 10)) and say that it comes out as a 2, can I keep the 2 in any way?
Aucun commentaire:
Enregistrer un commentaire