3 ms·
> it seems equality operator in javascript is good for nothing but being a source of confusion and a target of jokes. if (someValue != null) { // someVal
by Nimelrian 8y ago
> it seems equality operator in javascript is good for nothing but being a source of confusion and a target of jokes.
if (someValue != null) {
// someValue is neither null nor undefined
}
> does it not make sense to just remove it from the language completely?
No, because you'd wreck quite a bit of the internet with that.
> who is deciding that?
ECMA TC39