I am learning JavaScript and I want to make a simple rock paper scissors game. I want to make the computer choose the number 1, 2, or 3 at random and make the answer a variable called computerResponse. How do I do this?
var computerResponse = ???;
If this question is unclear please tell me and I will try to make it better.
Thanks in advance.