---
title: "Comment by Dhanush on \"Do you really think that loose equals (==) compares the value and strict equals (===) compares the value as well as the type of two variables in JS?\" | Hashnode"
description: "Thanks for this nice and clean explanation"
url: "https://hashnode.com/posts/do-you-really-think-that-loose-equals-compares-the-value-and-strict-equals-compares-the-value-as-well-as-the-type-of-two-variables-in-js/61e061c3ffa55d74f0089e94/comment/61e108401f35f37864466ee7"
---

[Discussion](https://hashnode.com/posts/do-you-really-think-that-loose-equals-compares-the-value-and-strict-equals-compares-the-value-as-well-as-the-type-of-two-variables-in-js/61e061c3ffa55d74f0089e94)

Comment [Do you really think that loose equals (==) compares the value and strict equals (===) compares the value as well as the type of two variables in JS?](https://hashnode.com/posts/do-you-really-think-that-loose-equals-compares-the-value-and-strict-equals-compares-the-value-as-well-as-the-type-of-two-variables-in-js/61e061c3ffa55d74f0089e94)

[Dhanush](https://hashnode.com/@Dhanush57)

[Jan 14, 2022](https://hashnode.com/posts/do-you-really-think-that-loose-equals-compares-the-value-and-strict-equals-compares-the-value-as-well-as-the-type-of-two-variables-in-js/61e061c3ffa55d74f0089e94/comment/61e108401f35f37864466ee7)

Thanks for this nice and clean explanation

[Shahbaz Khan's Blog](https://hashnode.com/@shahbazkhan)

[Jan 14, 2022](https://hashnode.com/posts/do-you-really-think-that-loose-equals-compares-the-value-and-strict-equals-compares-the-value-as-well-as-the-type-of-two-variables-in-js/61e061c3ffa55d74f0089e94/comment/61e108401f35f37864466ee7#reply-61e1129e1f35f37864466fcb)

Glad you liked it 😊
