Many developers always use === in favor of == but why?
There are several tutorials supporting incorrect information and myths on the internet. In addition to that, many linting rules and popular websites are opinionated towards always preferring ===.
These all lead to lots of programmers excluding part of the language and treating it as a defect instead of expanding their understanding.
Here are two use cases where it’s better to use == to illustrate the point.