---
title: "Discussion on \"Difference between  loose equality and strict equality operator JavaScript\" | Hashnode"
description: "Discussion on \"Difference between  loose equality and strict equality operator JavaScript\". Loose Equality operator (==) in JavaScript\nIn Javascript, the ‘==’ operator is also known as the loose equality operator which is mainly used to compare two values on both sides and then return true or false. This operator checks equality only after ..."
url: "https://hashnode.com/posts/difference-between-loose-equality-and-strict-equality-operator-javascript/63ea660d3e44bf7d0b381c93"
---

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

Discussion

# [Difference between loose equality and strict equality operator JavaScript](https://mahimacoding.hashnode.dev/difference-between-loose-equality-and-strict-equality-operator-javascript?utm_source=hashnode&utm_medium=feed)

Loose Equality operator (==) in JavaScript In Javascript, the ‘==’ operator is also known as the loose equality operator which is mainly used to compare two values on both sides and then return true or false. This operator checks equality only after ...

Feb 13, 2023 · 2 min read · mahimacoding.hashnode.dev  
Read the article

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

## Written by

[Mahima Gupta](https://hashnode.com/@Mahima2401)

@Mahima2401

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
