Code Challenges: Javascript Fundamentals truthyOrFalsy() exercise

Was working on the truthyOrFalsy exercise and I get the correct answer but for some reason its saying its wrong. Not sure if I’m missing something?

const truthyOrFalsy = (x) => {
if (x === false) {
return ‘false’;
} else if(x === ‘’){
return ‘false’;
} else if(x === null){
return ‘false’;
} else if (x === undefined) {
return ‘false’;
} else if(x === NaN){
return ‘false’;
} else if(x === 0){
return ‘false’;
} else {
return ‘true’;
}
}

Hello, @ballze.

Could you post a link to the exercise, and provide the error message you are receiving? Also, please review the following post: How do I format code in my posts?