Sign in
Log inSign up
JavaScript: Why does 3 + true = 4? (and 7 other tricky equations)

JavaScript: Why does 3 + true = 4? (and 7 other tricky equations)

Brandon Morelli's photo
Brandon Morelli
·Jun 15, 2017

It's about to get weird. 3 + true === 4. Learn why, and explore these 8 interesting JavaScript equations with me.