0
Yup, Javascript can go F@#! itself
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Can someone explain this? I mean, the last result. Usually I can at least understand Javascript's or PHP's quirks. But this time I'm stumped.
JS null and undefined shenanigans
basically:
==
is fucky and to it null only equals undefined and undefined only equals null (and themselves), so noUgh, thanks, of course. Stupid brain.
I'm starting to think JS maintainers have a thing against mathematicians
more likely against humans