Hacker News new | ask | show | jobs
by Zababa 1911 days ago
I think people should stop presenting JavaScript == operator as some kind of black magic, it's not helping anyone. The standard is online and you can read it here [1]. It is complex and unintuitive, no doubt about that, and you should prefer === most of the time. However, rejecting any attempt at understanding it is counter productive.

[1]: https://262.ecma-international.org/11.0/#sec-abstract-equali...