I guess just a familiar JS environment (some of us grew up with)... I think the amazing thing is, if the browser complies to JS, there is no way that it can make document.all to be falsy? If there are some weird things happening in NodeJS regarding JS I'd hope to know too.
By the way... I updated the post to mention it is inside of a browser, thank you.
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
You can find more info here: developer.mozilla.org/en-US/docs/G...
oh... not counting -0... depending on how you look at it. It can be incorrect, because 0 and -0 are technically different.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.