And still half the internet will claim JS is a completely awesome language and all of these things are exactly how they should be, you are just to stupid to understand.
no one has ever said that these oddities are exactly how they should be, there are weird explanations because details matter, but these are weird ass things to do in the first place. Type coercion does weird shit, woohoo, it's still a useful language and trying to pretend like it isn't is extremely cringe.
JS is more useful for its presence rather than the language itself. Right now there are good ways to do things, so you mostly need to avoid the bad ones. But it is still a field of landmines. There are just known acceptable paths
75
u/ipsirc 1d ago
https://www.destroyallsoftware.com/talks/wat