Someone help me find whats wrong with my code!

const getUserChoice = userInput => {
userInput = userInput.toLowerCase();
if (userInput === ‘rock’ || userInput === ‘paper’ || userInput === ‘scissors’ ||userInput === ‘bomb’)
{
return userInput;
} else {
console.log(‘Error!’);
}
};

const getComputerChoice = () => {
const randomNumber=
Math.floor(Math.random() * 4);

switch (randomNumber) {
case 0:
return ‘rock’;
case 1:
return ‘paper’;
case 2:
return ‘scissors’;
case 4:
return ‘bomb’;
}
};

const determineWinner = (userChoice, computerChoice) => {
if (userChoice === computerChoice)
return ‘Game is a tie’;
}

if (userChoice === ‘bomb’)
return 'U WIN ';

if (userChoice === ‘rock’) {
if (‘paper’ === computerChoice) {
return ‘The bot wins’;
}
}
else { return ‘YOU WIN!’;
}
if (userChoice === ‘paper’) {
if (computerChoice === ‘scissors’) {
return ‘The computer won!’;
} else {
return ‘You won!’; }
}

if (userChoice === 'scissors'){
if (computerChoice === 'rock') {
return 'The computer won!';

} else {
return ‘You won!’;
}
}

const playGame = () => {
const userChoice
= getUserChoice(‘bomb’);
const computerChoice = getComputerChoice();
console.log('You threw: ’ + userChoice);
console.log(‘The computer threw:’ + computerChoice);

console.log(determineWinner(userChoice, computerChoice));
};
playGame();

In the JavaScript code,
you seem to either be missing a { after if (userChoice === computerChoice)
or you have one too many } in the lines below:

Check the other { and } stuff for errors.

I found the issue. I closed the bracket to my function too early.