---
description: '==, !=, ===, !=== operators.'
---

# equality & inequality operator

[JS](../../..) ⟩ [statement](../../statement) ⟩ [expression](../../statement/expr) ⟩ [operator](..) ⟩ [relational]() ⟩ equality & inequality

{% hint style="success" %}
:star2: [table-of-operators](../table-of-operators "mention")
{% endhint %}

{% tabs %}
{% tab title="🔴 主題" %}
* <mark style="color:yellow;">**equality & inequality**</mark>
  * [sloppy-equality](equal/sloppy-equality "mention")
  * [strict-equality](equal/strict-equality "mention")
{% endtab %}

{% tab title="📗 參考" %}
* [ ] [javascript-the-definitive-guide](../../../../master/ref/javascript-the-definitive-guide "mention") ⟩ 4.9.1 Equality & Inequality Operators
{% endtab %}

{% tab title="📘 手冊" %}
* [Equality (==)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality) / [Inequality (!=)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality)
* [Strict equality (===)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Strict_equality) / [Strict inequality (!==)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Strict_inequality)
{% endtab %}
{% endtabs %}
