---
title: "Discussion on \"\"==\" VS \"===\" in Javascript\" | Hashnode"
description: "Discussion on \"\"==\" VS \"===\" in Javascript\". The Comparison operator is used to compare two values. In Javascript, we can test equality using two comparison operators."
url: "https://hashnode.com/posts/indepth-equality-operator-in-javascript/63ea5f7c3e44bf7d0b381c77"
---

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

Discussion

# ["==" VS "===" in Javascript](https://swetabisht.dev/indepth-equality-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

The Comparison operator is used to compare two values. In Javascript, we can test equality using two comparison operators.

Feb 13, 2023 · 7 min read · swetabisht.dev  
Updated Feb 15, 2023  
Read the article

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

## Written by

[sweta](https://hashnode.com/@Sweta4b)

@Sweta4b

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

## Responses 2

Markdown supported · ⌘↵ to post

[shubham tiwari](https://hashnode.com/@Techstick)

[Feb 14, 2023](https://hashnode.com/posts/indepth-equality-operator-in-javascript/63ea5f7c3e44bf7d0b381c77/comment/63eb4bcf1a02604287e7d7c9)

Most elaborate blog on this topic. Each aspect is explained beautifully.

[Ayush Baunthiyal](https://hashnode.com/@Ayuussshhhh)

[Feb 13, 2023](https://hashnode.com/posts/indepth-equality-operator-in-javascript/63ea5f7c3e44bf7d0b381c77/comment/63ea82d13168a1345e695d4d)

Quick Read, Crisp and informative. Thanks!
