DEV Community

Discussion on: There are 9 falsy values in JavaScript inside of a browser. Can you name them all?

 
kennethlum profile image
Kenneth Lum

It is 7 but not 8? Which one is not listed... (I tried to search for "falsy" or "falsey" in that docs but can't find any match)... true, document.all really is inside of a browser only, so I think I will update the post

Thread Thread
 
wassimchegham profile image
Wassim Chegham

You can find more info here: developer.mozilla.org/en-US/docs/G...

Thread Thread
 
kennethlum profile image
Kenneth Lum

oh... not counting -0... depending on how you look at it. It can be incorrect, because 0 and -0 are technically different.