I don’t think I’ve ever seen a bug related to == vs. === in JavaScript. Half the time we’re comparing strings anyway and it just doesn’t matter, so why ugly up your code with an extra =? Also while I’m being controversial, real tabs are great. 🤪

Cooper

== vs === causes me more confusion than I care to admit. But the tab comment. I’m raising my pitchfork.

jfroehlich

@manton I have and it was not fun to debug because it was so supple. So, instead of stopping and thinking about the implications of == I just write === and continue with my flow.

Manton Reece @manton
Lightbox Image