Hi,

I am working on Number Guesser exercise. I can’t find out the reason why it is not showing the winner results. Please any help will be much appreciated.

let humanScore = 0;

let computerScore = 0;

let currentRoundNumber = 1;

// Write your code below:

//Step 3

const generateTarget = () => {

```
return Math.floor(Math.random() * 9);
```

};

//Step 4

const compareGuesses = (currentHumanGuess,computerGuess,generateTarget) => {

```
let humanDifference = Math.abs (generateTarget - currentHumanGuess);
let computerDifference = Math.abs (generateTarget - computerGuess);
if (humanDifference >= computerDifference) {
return true;
} else {
return false;
};
```

};