Skip to content

Instantly share code, notes, and snippets.

@anthify
Created August 9, 2019 10:18
Show Gist options
  • Save anthify/3952e5688de57ab597a7229d159adde2 to your computer and use it in GitHub Desktop.
Save anthify/3952e5688de57ab597a7229d159adde2 to your computer and use it in GitHub Desktop.
Rock, Paper, Scissors!
const rockPaperScissors = usersHand => {
let computersHand;
let result;
// logic
return `
You ${result}, computer picked ${computersHand}
`;
}
// console.log(rockPaperScissors("rock"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment