---
title: "Discussion on \"Truthy and Falsy Values Explained\" | Hashnode"
description: "Discussion on \"Truthy and Falsy Values Explained\". A large part of using JavaScript is dealing with booleans. This might be in conditional rendering or an if statement. But, regardless booleans are everywhere.\nFor this reason, it's important that we understand that every value we create in JavaScript..."
url: "https://hashnode.com/posts/truthy-and-falsy-values-explained/60affeef9b1e2e1dccbcb915"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Truthy and Falsy Values Explained](https://conermurphy.hashnode.dev/truthy-and-falsy-values-explained?utm_source=hashnode&utm_medium=feed)

A large part of using JavaScript is dealing with booleans. This might be in conditional rendering or an if statement. But, regardless booleans are everywhere. For this reason, it's important that we understand that every value we create in JavaScript...

May 22, 2021 · 3 min read · conermurphy.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Coner Murphy](https://hashnode.com/@conermurphy)

@conermurphy · Norwich, UK

  
[View profile](https://hashnode.com/@conermurphy)

Web Developer, Content Creator & Tech Entrepreneur

Fullstack Developer | Technical Writer | Freelancer 👩‍💻 Posts about Web Dev, Tech, and Entrepreneurship 📈

## Responses 2

Markdown supported · ⌘↵ to post

[Jannik Wempe](https://hashnode.com/@JannikWempe)

[May 28, 2021](https://hashnode.com/posts/truthy-and-falsy-values-explained/60affeef9b1e2e1dccbcb915/comment/60b0f2acfb51fd32a4dbe929)

Nice and concise article. To the point! ☺

[Coner Murphy](https://hashnode.com/@conermurphy)

[May 30, 2021](https://hashnode.com/posts/truthy-and-falsy-values-explained/60affeef9b1e2e1dccbcb915/comment/60b0f2acfb51fd32a4dbe929#reply-60b34bd3fb51fd32a4dc2482)

Glad you enjoyed it Jannik :)

[Maxi Contieri](https://hashnode.com/@mcsee)

[May 27, 2021](https://hashnode.com/posts/truthy-and-falsy-values-explained/60affeef9b1e2e1dccbcb915/comment/60b015605c02001765cf4cc7)

Great article!

Watch out for these techniques since treating non booleans as booleans is a code smell.

[maximilianocontieri.com/code-smell-69-big-bang-ja…](https://maximilianocontieri.com/code-smell-69-big-bang-javascript-ridiculous-castings)

[Coner Murphy](https://hashnode.com/@conermurphy)

[May 30, 2021](https://hashnode.com/posts/truthy-and-falsy-values-explained/60affeef9b1e2e1dccbcb915/comment/60b015605c02001765cf4cc7#reply-60b34c1f9b1e2e1dccbd056a)

Hi Maxi,

Glad you enjoyed the post. :)

Thank you for sharing your post, I'll check it and give it a read. 😀
