DEV Community

Discussion on: Javascript true false weirdness

Collapse
 
nk2303 profile image
Ngan Kim Khong

I was confused because if "an obj is true", then "obj === true" should return true, yet I got false. At least to my humanly logic, lol. I thought something wrong with my logic until I realized it was just the equal sign.