jeudi 3 décembre 2020

How can I set a variable to one of two random options?

I know how to get a random number with Javascript, but I do not know how to set a variable to text randomly. I want it to randomly choose between saying one thing and another thing. I realize that this is probably a fairly basic question, but I can't find any tutorials online on it.




Aucun commentaire:

Enregistrer un commentaire