---
title: "Discussion on \"Loose equality (==) VS Strict equality (===)\" | Hashnode"
description: "Discussion on \"Loose equality (==) VS Strict equality (===)\". You came across this equality comparison which means you must be a programmer who works in JavaScript. And this is awesome!\nDouble equals (==) and triple equals (===) in JavaScript often make beginners think. But once we get to know how it works then..."
url: "https://hashnode.com/posts/loose-equality-vs-strict-equality/63efdea5dbd9e1d03bc8ffaa"
---

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

Discussion

# [Loose equality (==) VS Strict equality (===)](https://pranita.hashnode.dev/loose-equality-vs-strict-equality?utm_source=hashnode&utm_medium=feed)

You came across this equality comparison which means you must be a programmer who works in JavaScript. And this is awesome! Double equals (==) and triple equals (===) in JavaScript often make beginners think. But once we get to know how it works then...

Feb 17, 2023 · 5 min read · pranita.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#strict-equality-operator](https://hashnode.com/tag/strict-equality-operator)
-   [#loose-equality-operator](https://hashnode.com/tag/loose-equality-operator)
-   [#equality-operator-in-javascript](https://hashnode.com/tag/equality-operator-in-javascript)

## Written by

[Pranita Fulsundar](https://hashnode.com/@pranita)

@pranita · Pune, India

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

Developer, building useful things for web.

Hi, I’m a software engineer with a strong focus on frontend development and open-source contributions. I enjoy solving real-world problems, improving developer workflows, and building systems that scale. I believe in taking ownership of my work and paying close attention to quality and detail. I'm here to document my learnings, ideas, and practical insights from building and shipping real products. If anything here resonates with you, feel free to reach out. I’m always happy to connect and learn from others.

## Responses 2

Markdown supported · ⌘↵ to post

[RUTHVICK NANAPURE](https://hashnode.com/@Ruthvick)

[Mar 26, 2023](https://hashnode.com/posts/loose-equality-vs-strict-equality/63efdea5dbd9e1d03bc8ffaa/comment/641f989bbe4ca15b2ad29d21)

The details of type coercion in various cases is the new thing that I learned today. Great job!

[Pranita Fulsundar](https://hashnode.com/@pranita)

[Mar 26, 2023](https://hashnode.com/posts/loose-equality-vs-strict-equality/63efdea5dbd9e1d03bc8ffaa/comment/641f989bbe4ca15b2ad29d21#reply-6420adc0bdbe7d697133ca2f)

Glad it helped you learn!

[Anand Baraik](https://hashnode.com/@anandbaraik)

[Feb 17, 2023](https://hashnode.com/posts/loose-equality-vs-strict-equality/63efdea5dbd9e1d03bc8ffaa/comment/63efe1d30e63a77a616fc3f3)

Nicely written. That type coercion rules were needed to understand it better.

[Pranita Fulsundar](https://hashnode.com/@pranita)

[Feb 18, 2023](https://hashnode.com/posts/loose-equality-vs-strict-equality/63efdea5dbd9e1d03bc8ffaa/comment/63efe1d30e63a77a616fc3f3#reply-63f06dad0e63a77a616fcd8d)

Thanks for feedback.
