# semicolon (;)

[JS](https://lochiwei.gitbook.io/web/js) ⟩ [grammar](https://lochiwei.gitbook.io/web/js/grammar) ⟩ [token](https://lochiwei.gitbook.io/web/js/grammar/token) ⟩ [punctuator](https://lochiwei.gitbook.io/web/js/grammar/token/punctuator) ⟩ semicolon (;)

{% tabs %}
{% tab title="🔴 主題" %}

* [do...while](https://lochiwei.gitbook.io/web/js/grammar/statement/loop/do...while "mention")
* [empty](https://lochiwei.gitbook.io/web/js/grammar/statement/other/empty "mention")
* [private](https://lochiwei.gitbook.io/web/js/val/class/member/private "mention") - `class { #privateMember; }`.
* [statements-that-must-end-with](https://lochiwei.gitbook.io/web/js/grammar/token/punctuator/semicolon/statements-that-must-end-with "mention")
* [automatic-semicolon-insertion](https://lochiwei.gitbook.io/web/js/grammar/token/punctuator/semicolon/automatic-semicolon-insertion "mention")
  {% endtab %}

{% tab title="👥 相關" %}

* [do...while](https://lochiwei.gitbook.io/web/js/grammar/statement/loop/do...while "mention") <mark style="color:red;">**must**</mark> be <mark style="color:yellow;">**terminated**</mark> with a "<mark style="color:purple;">**`;`**</mark>".
  {% endtab %}

{% tab title="📘 手冊" %}

* [ ] lexical grammar ⟩ [automatic semicolon insertion](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#automatic_semicolon_insertion)
  {% endtab %}
  {% endtabs %}
