I am completely to new to this so thanks for any help in advance. I am on rock, paper scissors and stuck on the determineWinner section. I have rewritten it several times but keep getting an undefined. getUserChoice and getComputerChoice are both working fine. The full code is here. RPS - Pastebin.com
This is the output I receive when running it.
[jwisbell35@fedora Rock-Paper-Scissors]$ node app.js
You threw: rock
The computer threw: rock
undefined
Just asking if someone can point me in the right direction. Thank you.