Hacker News new | ask | show | jobs
by csjh 726 days ago
No need to remember crazy charts to determine equality in Javascript, just blanketly use `===`
1 comments

JavaScript == comparison isn't particularly strange; the "crazy charts" are mostly cases that you should never encounter if you're writing reasonable code. If you're going to use a language, it's a much better idea to familiarize yourself with its actual semantics than to pepper your codebase with superstitious rituals.