# binary logical operator

[JS](../../..) ⟩ [statement](../../statement) ⟩ [expression](../../statement/expr) ⟩ [operator](..) ⟩ [logical]() ⟩ binary

{% hint style="success" %}
<mark style="color:purple;">**`&&`**</mark> (logical and), <mark style="color:purple;">**`||`**</mark> (logical or), <mark style="color:purple;">**`??`**</mark> (nullish coalescing)

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

{% tabs %}
{% tab title="🔴 主題" %}
* [`&&`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_AND) - Logical AND.
* [`||`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OR) - Logical OR.
* [`??`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing) - [nullish-coalescing](nullish-coalescing "mention")
{% endtab %}

{% tab title="📘 手冊" %}
* [Binary logical operators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators#binary_logical_operators)
{% endtab %}
{% endtabs %}
