I don't get this lesson


#1

Concise Body Arrow Functions

I don’t get this lesson

const plantNeedsWater = day =>  day > 'Wednesday' ? true : false;

this gives the following message

“Did you refactor plantNeedsWater() to be a concise body?”

this is the hint

"const greaterThanFive = num => num > 5 ? true : false;"

What am I doing wrong here ??
Thanks in advance for the help.


FAQ: Functions - Concise Body Arrow Functions
#2

Should the comparison be identity (===) as opposed to inequality (>)?


#3

Thank you for making me feel stupid now that I look at it.

It working now