JavaScript: Why does 3 + true = 4? (and 7 other tricky equations)9833Brandon MorelliJuan David CastroFollowJul 30, 2017 · 1 min readYou can avoid that with === instead of ==