---
title: "Discussion on \"Truthy and Falsy Values in JavaScript\" | Hashnode"
description: "Discussion on \"Truthy and Falsy Values in JavaScript\". In JavaScript, There are 6 falsy values and these are - 0(Zero), ' ' (Empty String), Undefined, Null, NAN, and False.\nFalsy values are not exactly false initially but will become false when we try to convert them to boolean.\nconsole.log(Boolean(null)..."
url: "https://hashnode.com/posts/truthy-and-falsy-values-in-javascript/64299aa824da40d80a02a7f3"
---

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

Discussion

# [Truthy and Falsy Values in JavaScript](https://prachipolakhare.hashnode.dev/truthy-and-falsy-values-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, There are 6 falsy values and these are - 0(Zero), ' ' (Empty String), Undefined, Null, NAN, and False. Falsy values are not exactly false initially but will become false when we try to convert them to boolean. console.log(Boolean(null)...

Apr 2, 2023 · 1 min read · prachipolakhare.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#truthy-values](https://hashnode.com/tag/truthy-values)
-   [#falsy-values](https://hashnode.com/tag/falsy-values)

## Written by

[Prachi Polakhare](https://hashnode.com/@Prachi24)

@Prachi24

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

Web Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
