> For the complete documentation index, see [llms.txt](https://lochiwei.gitbook.io/web/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lochiwei.gitbook.io/web/js/grammar/token/punctuator/semicolon.md).

# semicolon (;)

[JS](/web/js.md) ⟩ [grammar](/web/js/grammar.md) ⟩ [token](/web/js/grammar/token.md) ⟩ [punctuator](/web/js/grammar/token/punctuator.md) ⟩ semicolon (;)

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

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

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

* [do...while](/web/js/grammar/statement/loop/do...while.md) <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 %}
