The Best Javascript Meme I’ve Ever Seen, Explained in Detail

TLDR: Coerce yourself to use triple equals.

Yazeed Bzadough
Frontend Weekly

--

I unintentionally found this JavaScript meme on Reddit, and it’s the best one I’ve ever seen.

You can verify this meme’s accuracy by running each code snippet in Developer Tools. The result isn’t surprising, but still kind of disappointing.

Of course this little experiment lead me to wonder…

Why Does This Happen?

With experience, I’ve learned to embrace JavaScript’s smooth sides while bewaring its prickly pines. Nonetheless, this corner case’s details still nicked me.

--

--