---
title: "Discussion on \"== vs === in JavaScript\" | Hashnode"
description: "Discussion on \"== vs === in JavaScript\". Overview\nIn javascript, the equality operator is used to determine whether two values are equal. The main difference between the \"==\" and \"===\" operators in javascript is that the \"==\" operator does the type conversion of the operands before the comp..."
url: "https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84"
---

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

Discussion

# [\== vs === in JavaScript](https://rajkishor.hashnode.dev/vs-in-javascript?utm_source=hashnode&utm_medium=feed)

Overview In javascript, the equality operator is used to determine whether two values are equal. The main difference between the "==" and "===" operators in javascript is that the "==" operator does the type conversion of the operands before the comp...

Feb 13, 2023 · 5 min read · rajkishor.hashnode.dev  
Read the article

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

## Written by

[Raj Kishor Shaw](https://hashnode.com/@rajkishorshaw)

@rajkishorshaw · kolkata, India

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

I am a web developer.

I am a web developer. I am always curious to learn new things. I'm familiar with HTML5, CSS3, Git, GitHub, JavaScript, NodeJS, ReactJS, and Web Hosting. I like to make websites, code, write blogs, read books, listen to music, and podcasts, and travel with friends.

## Responses 6

Markdown supported · ⌘↵ to post

[Shruti Gawande](https://hashnode.com/@Shruti1019)

[Feb 23, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63f6fc64437bc8d091bd1d8f)

I greatly appreciate your work!

[Sahil Bhosale](https://hashnode.com/@sahilbhosale08)

[Feb 14, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63eb5bf31a02604287e7daad)

Well written!

[Raj Kishor Shaw](https://hashnode.com/@rajkishorshaw)

[Feb 14, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63eb5bf31a02604287e7daad#reply-63eb7d20ce792e42b747050a)

Thanks sahil

[BHAVANA S](https://hashnode.com/@bhavi)

[Feb 13, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63ea4e83a82b8f33f0869091)

Very well written and great explanation!

[Raj Kishor Shaw](https://hashnode.com/@rajkishorshaw)

[Feb 14, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63ea4e83a82b8f33f0869091#reply-63eb35aed621673fc424c622)

Thanks Bhavana

[Kumar Raj](https://hashnode.com/@arrogantCoder)

[Feb 13, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63ea35413168a1345e694f35)

Good article, pls write more

[Raj Kishor Shaw](https://hashnode.com/@rajkishorshaw)

[Feb 14, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63ea35413168a1345e694f35#reply-63eb35a2aa963d3ff4411500)

I'm happy you loved it ☺️

[Sanika Suryawanshi](https://hashnode.com/@sanika0305)

[Feb 13, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63ea1c8ea82b8f33f08687d1)

Well explained!

[Raj Kishor Shaw](https://hashnode.com/@rajkishorshaw)

[Feb 14, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63ea1c8ea82b8f33f08687d1#reply-63eb358faa963d3ff44114f9)

Thanks 🙏

[Abin John](https://hashnode.com/@abinjohn)

[Feb 13, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63ea0e52996ff62a8acebc7e)

Nicely written!

[Raj Kishor Shaw](https://hashnode.com/@rajkishorshaw)

[Feb 13, 2023](https://hashnode.com/posts/vs-in-javascript/63e9f1b204186192a538cc84/comment/63ea0e52996ff62a8acebc7e#reply-63ea1dd83168a1345e6949fd)

I'm happy that you liked it 😊
