Getting undefined output on rock paper scissors project

I’ve made a basic rock paper scissor game using Code Academy, the code works bu when outputting it keeps also outputting undefined as well as the intended output. What am i missing? Also how could i have done this better?

const getUserChoice = userInput => {
    userInput = userInput.toLowerCase();
    if (userInput === "rock" || userInput === "paper" || userInput === "scissors") {
      return userInput;
    } else {
    return "invalid selection";
    }
    };
    const getComputerChoice = function() {
    const randomCpuNumber = Math.floor(Math.random() * 3);
      switch (randomCpuNumber) {
        case 0:
        return "rock";
        case 1: 
        return "paper";
        case 2:
        return "scissors";
      }
    };
    
    const determineWinner = (userChoice, computerChoice) => {
      if (userChoice === computerChoice) {
        return "game is a tie"
      }
    
      if (userChoice === "rock") {
        if (computerChoice === "paper") {
          return "computer wins!";
        } else {
          return "player wins!";
      } 
      } 
    if (userChoice === "scissors") {
      if (computerChoice === "rock") {
        return "computer wins!";
      } else {
        return "Player wins!";
    } 
    }
    if (userChoice === "paper") {
      if (computerChoice === "scissors") {
       return "computer wins!";
      } else {
       return "Player wins!";
    }
    } 
    };
    const playGame = () => {
    const userChoice = getUserChoice("Rock");
    const computerChoice = getComputerChoice();  
    console.log("you throw " + userChoice);
    console.log("computer throws " + computerChoice);
    console.log(determineWinner(userChoice,computerChoice));
    };
    
    console.log(playGame());

playGame doesn’t return anything, yet here:


    console.log(playGame());

you attempt to log the returned value. Why?