---
title: "Discussion on \"== vs ===\" | Hashnode"
description: "Discussion on \"== vs ===\". Both \"==\" and \"===\" are used for equality comparison in Javascript. To understand the difference between them we first need to know what is Type coercion.\nType coercion:\nType coercion in JS refers to the process of converting a value from one data ty..."
url: "https://hashnode.com/posts/vs/63eb6d1f54ac96a827797d56"
---

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

Discussion

# [\== vs ===](https://nikhilchhabra.hashnode.dev/vs?utm_source=hashnode&utm_medium=feed)

Both "==" and "===" are used for equality comparison in Javascript. To understand the difference between them we first need to know what is Type coercion. Type coercion: Type coercion in JS refers to the process of converting a value from one data ty...

Feb 14, 2023 · 2 min read · nikhilchhabra.hashnode.dev  
Read the article

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

## Written by

[Nikhil Chhabra](https://hashnode.com/@nikhilchhabra)

@nikhilchhabra · New Delhi, India

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

Me think, why waste time see lot tutorials when few blogs do trick

Aspiring web developer

## Responses 1

Markdown supported · ⌘↵ to post

[Brian P.](https://hashnode.com/@IAmDatBrian)

[Feb 14, 2023](https://hashnode.com/posts/vs/63eb6d1f54ac96a827797d56/comment/63eb90412059e345a6cc12a9)

Awesome outline!! Keep it up.
