@ -0,0 +1,7 @@
const choices = ["rock", "paper", "scissors"];
function getComputerChoice() {
return choices[Math.floor(Math.random() * 3)];
}
console.log(getComputerChoice());