---
title: "Discussion on \"Weird JS - 2 (Falsy Values): Why Not to Use “!”, “==” and “===”?\" | Hashnode"
description: "Discussion on \"Weird JS - 2 (Falsy Values): Why Not to Use “!”, “==” and “===”?\". Explore the quirks of JavaScript falsy values, type coercion, and equality operators to avoid common coding mishaps and unexpected bugs"
url: "https://hashnode.com/posts/weird-js-2-falsy-values-why-not-to-use-and/68f191de949aaa4e3e9fb15b"
---

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

Discussion

# [Weird JS - 2 (Falsy Values): Why Not to Use “!”, “==” and “===”?](https://sumonta056.hasnode.dev/weird-js-2-falsy-values-why-not-to-use-and?utm_source=hashnode&utm_medium=feed)

Explore the quirks of JavaScript falsy values, type coercion, and equality operators to avoid common coding mishaps and unexpected bugs

Oct 17, 2025 · 7 min read · sumonta056.hasnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Sumonta Saha (Mridul)](https://hashnode.com/@sumonta056)

@sumonta056 · Dhaka, Bangladesh

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

Associate Software Engineer I at Cefalo | Content Writer, Code & Career Golpo (500+ Subs) | 🏆6x Top 10 in Hackathons & Project Showcase

Associate Software Engineer I at Cefalo | Content Writer, Code &amp; Career Golpo (500+ Subs) | 🏆6x Top 10 in Hackathons &amp; Project Showcase

## Responses 1

Markdown supported · ⌘↵ to post

[Sumonta Saha (Mridul)](https://hashnode.com/@sumonta056)

[Oct 17, 2025](https://hashnode.com/posts/weird-js-2-falsy-values-why-not-to-use-and/68f191de949aaa4e3e9fb15b/comment/68f196f16db493483252575d)

Part 1 : Weird JS Series - 1: Difference Between ?, ??, and ||

[linkedin.com/pulse/weird-js-series-1-difference-b…](https://www.linkedin.com/pulse/weird-js-series-1-difference-between-sumonta-saha-mridul-zqdyc/?trackingId=kNHVui0FQT%2BHR3N6sduzHw%3D%3D)
