News for hackers. Stuff that matters.
Re:The many faces of undefined in JavaScript by afiori on Wednesday June 26, 2024 @03:34AM (#40797310)
In almost every case you test for someVal != null or someVal == null (which is almost the only case where == is preferable to ===)

And on the other hand sql made the opposite mistake where NULL means both "this field has an empty value" and "this field does not have a value"

There are no comments on this comment yet.