---
title: "Discussion on \"Difference between == and ===\" | Hashnode"
description: "Discussion on \"Difference between == and ===\". What is Difference between == and ===\n\nBoth are used to compare two values but the only difference is that == compare only deals and give a boolean value actual whereas === will compare both deals and datatype and return true.\n\nThe === is also known ..."
url: "https://hashnode.com/posts/difference-between-abstract-and-strict-comparison-operator/63e89bf3f67714bf5f06a311"
---

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

Discussion

# [Difference between == and ===](https://nishtha0503.hashnode.dev/difference-between-abstract-and-strict-comparison-operator?utm_source=hashnode&utm_medium=feed)

What is Difference between == and === Both are used to compare two values but the only difference is that == compare only deals and give a boolean value actual whereas === will compare both deals and datatype and return true. The === is also known ...

Feb 12, 2023 · 2 min read · nishtha0503.hashnode.dev  
Read the article

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

## Written by

[Nishtha thakkar](https://hashnode.com/@nishtha05)

@nishtha05

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

Learning full stack development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
