At the point 11 in the exercise mention in the subject of this post, we are asked to test whether the computer logs the right outcome given some example input:
WRT the last, it logs me “undefined”. In fact, in out conditionals we did not include the case where the user picks ‘paper’ and the computer ‘rock’, but only viceversa. The log ‘undefined’ is what I would expect, but I see that the same exact program works perfectly fine in the video, regardless of the order of appearance in the console.log.
What do I do wrong? Thank you very much!!