This is another post about Javascript strict equal (===) and non-strict equal (==). However, unlike the other million of posts about the exact same topic, this one will tell you exactly when you must use each of them.

You should exactly never use non-strict equal.

You should always use strict equal instead.

There is never one single situation in which non-strict is more accurate, more readable or more predictable.

Prove me wrong in the comments, if you dare.

LinkedIn was kind enough to inform me today, that someone liked that someone else re-posted a video posted by another someone, of three others.

Sharing the like creates an infinite loop.

Today, I found out that I have a public profile on

I feel both congratulations to Medium and an apology to the Internet are in order.


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store