---
title: "Comment by Iverson Pereira on \"Why you shouldn't use Double Equals Operator in JavaScript\" | Hashnode"
description: "In section &quot;The &#39;===&#39; Operator&quot; the result of : let a= 1 ; let b= '1' ; let c= true ; console .log(a===b); console .log(a==c); the output on t"
url: "https://hashnode.com/posts/lose-equality-and-strict-equality-in-javascript/5f4f5b5af6e5c425ea6960fe/comment/5f50607798ae9829ac3da90c"
---

[Discussion](https://hashnode.com/posts/lose-equality-and-strict-equality-in-javascript/5f4f5b5af6e5c425ea6960fe)

Comment [Why you shouldn't use Double Equals Operator in JavaScript](https://hashnode.com/posts/lose-equality-and-strict-equality-in-javascript/5f4f5b5af6e5c425ea6960fe)

[Iverson Pereira](https://hashnode.com/@ilp)

[Sep 3, 2020](https://hashnode.com/posts/lose-equality-and-strict-equality-in-javascript/5f4f5b5af6e5c425ea6960fe/comment/5f50607798ae9829ac3da90c)

In section **"The '===' Operator"** the result of :

```
let a=1;
let b='1'; 
let c=true;
console.log(a===b);
console.log(a==c);
```

the output on the console wouldn't be:

```
false
true
```

?

Very good article, thank you.

[Hrithwik Bharadwaj](https://hashnode.com/@hrithwik)

[Sep 3, 2020](https://hashnode.com/posts/lose-equality-and-strict-equality-in-javascript/5f4f5b5af6e5c425ea6960fe/comment/5f50607798ae9829ac3da90c#reply-5f50859e98ae9829ac3da9fa)

Oops thanks for pointing out . I wanted to use triple equal in both the ones
