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.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct