I am writing a function, and then evaluating if the function returns truthy or falsey : I am writing a function which returns the greater number out of two given numbers, then I want to evaluate if given two numbers the greater number is indeed the correct output. However I keep getting false,

I have tried the following code or some small variations on it.

```javascript
function maxNumber(n1, n2) {
    if (n1 > n2) {
        console.log(n1);}
       else {
            console.log(n2);
        }
    }

function testMaxNumber() {
    console.log(maxNumber (0, 10)===10);
};
testMaxNumber();
```


> 10 (this part is what I expected, the second log outputs
> false//I expect true