News for hackers. Stuff that matters.
Re:JavaScript Equality Minesweeper by kbp on Monday September 17, 2018 @10:46AM (#18006360)
I can see what you're saying, but I think that argument would be a lot stronger if == compiled to ===. If you want an operator with ==='s semantics, it's there; providing == and claiming it behaves like === just seems like an opportunity for annoying surprises if something slips through the cracks. Since == doesn't compile to ===, I wouldn't use it unless I understood its semantics and wanted them.

There are no comments on this comment yet.