2 ms·
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 he
by Zababa 6y 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-equality-comparison https://262.ecma-international.org/11.0/#sec-abstract-equali...