Here my compareGuesses function always return false what’s the problem in my logic i don’t understand.

```
let humanScore = 0;
let computerScore = 0;
let currentRoundNumber = 1;
let userGuess = 5;
let computerGuess = Math.floor(Math.random() * 9);
// Write your code below:
const generateTarget = () => {
return Math.floor(Math.random() * 9);
}
let target = generateTarget();
const compareGuesses = (userGuess, computerGuess, target) => {
//let valueH = Math.abs(userGuess - target);
//let valueC = Math.abs(computerGuess - target);
if((Math.abs(userGuess - target)) <= (Math.abs(computerGuess - target))) {
return true;
} else {
return false;
}
}
const winner = compareGuesses(userGuess, computerGuess, target) === 'true' ? 'human' : 'computer';
const updateScore = (winner) => {
if(winner === 'human') {
humanScore += 1;
} else if(winner === 'computer') {
computerScore += 1;
} else {
console.log('Error: something might be wrong');
}
}
const advanceRound = () => {
currentRoundNumber += 1;
}
console.log(computerGuess);
console.log(userGuess);
console.log(target);
console.log(compareGuesses());
```