---
title: "Discussion on \"What is the difference between \"==\" and \"===\" in JS?\" | Hashnode"
description: "Discussion on \"What is the difference between \"==\" and \"===\" in JS?\". The equality operator in javascript is used to compare if two values are equal. In Javascript, the comparison is performed with the == and === operators.\nWhat is Double Equal (==) Operator?\nDouble equals (==) is often referred to as 'loose equality' ..."
url: "https://hashnode.com/posts/what-is-the-difference-between-and-in-js/63ee2e70d0751683e9355785"
---

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

Discussion

# [What is the difference between "==" and "===" in JS?](https://thevishalsinghrawat.hashnode.dev/what-is-the-difference-between-and-in-js?utm_source=hashnode&utm_medium=feed)

The equality operator in javascript is used to compare if two values are equal. In Javascript, the comparison is performed with the == and === operators. What is Double Equal (==) Operator? Double equals (==) is often referred to as 'loose equality' ...

Feb 16, 2023 · 3 min read · thevishalsinghrawat.hashnode.dev  
Read the article

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

## Written by

[Vishal Singh Rawat](https://hashnode.com/@thevishalsinghrawat)

@thevishalsinghrawat

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

Web Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
