323
True crime
(lemmy.nz)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Same as ?
Here
has_value()should have been checked first, but the JS seems kinda fine.Which is it?
a === breturns true ifaandbhave the same type and are considered equal, and false otherwise. Ifaisnullandbis a boolean, it will simply return false.I see, so logically it is fine.
Just not in the context.