9/9 Rock, Paper, Scissors


I have finished this section, but my question is about the return function. All over coding the game we used return "Scissors wins" or "rock wins" or whatever. At the end of the section when I tried to save and submit, console didnt print out x wins !, why is that ?


Did you call the function? Did you wrap your function call in a console.log?


I had the same hang up, I was console.logging outside the function, but I moved it within the last } and it's printing the full result. Here's what the end of my code looks like:

compare(userChoice, computerChoice);