I have a question regarding javascript truthy / falsy
As far as I know, any non-zero number including negative numbers is truthy. But if this is the case then why
-1 == true //returns false
But also
-1 == false //returns false
Can someone shed some light? I would appreciate it.