const getUserChoice = (userInput=userInput.toLowerCase()) => {
if (userInput==='rock'||userInput==='paper'||userInput==='scissors') {
return userInput;
}
else {
console.log('Error!');
}
};
console.log(getUserChoice('Scissors'));
//This does not seem to work. Only if I type in the words in all lowercase letters.