Here is my code, but the computer wins all the time, even when it is not supposed to.

```
let humanScore = 0;
let computerScore = 0;
let currentRoundNumber = 1;
// Write your code below:
let generateTarget = () => {
return Math.floor(Math.random() * 9);
}
let compareGuesses = (humanGeuss) => {
let humanGuess = '';
let computerGuess = Math.floor(Math.random() * 9);
if (Math.abs(generateTarget - humanGuess ) < Math.abs(generateTarget - computerGuess )) {
return 'true';
} else if (Math.abs(generateTarget - humanGuess) > Math.abs(generateTarget - computerGuess )) {
return 'false';
}
}
let updateScore = (winner) => {
if (winner === 'human') {
humanscore++;
} else if (winner === 'computer') {
computerScore++;
}
}
let advanceRound = () => {
currentRoundNumber += 1
}
```