---
title: "Discussion on \"Difference between Loose equality (==) and Strict equality(===)\" | Hashnode"
description: "Discussion on \"Difference between Loose equality (==) and Strict equality(===)\". While using the equality operator in javascript. We usually have two options that are to either use Loose equality (==) or to use Strict equality (===). But making choice hastily without knowing the exact behavior of both can lead to unexpected behav..."
url: "https://hashnode.com/posts/difference-between-loose-equality-and-strict-equality/63f8aa23681df6b9db5229c2"
---

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

Discussion

# [Difference between Loose equality (==) and Strict equality(===)](https://prachiblogs.hashnode.dev/difference-between-loose-equality-and-strict-equality?utm_source=hashnode&utm_medium=feed)

While using the equality operator in javascript. We usually have two options that are to either use Loose equality (==) or to use Strict equality (===). But making choice hastily without knowing the exact behavior of both can lead to unexpected behav...

Feb 24, 2023 · 4 min read · prachiblogs.hashnode.dev  
Read the article

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

## Written by

[Prachi Sahu](https://hashnode.com/@Prachi08)

@Prachi08

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

Frontend Developer

## Responses 1

Markdown supported · ⌘↵ to post

[Ramesh Raveendran](https://hashnode.com/@rrgodx)

[May 13](https://hashnode.com/posts/difference-between-loose-equality-and-strict-equality/63f8aa23681df6b9db5229c2/comment/6a04a2eca0c15402774ea0a2)

This article gives a perfect understanding. Thanks for sharing
