Can someone please explain to me why this JS function does not return 0 ?
let letters = [ 3, 1, "c" ];
const easySolution = function(input){
    if(Math.max(...input) === NaN){
        return 0;
    }else{
        return Math.max(...input);
    }
}
console.log(easySolution(letters));
 
     
    