---
description: punctuator `:`
---

# colon (:)

[JS](../../..) ⟩ [grammar](../..) ⟩ [token](..) ⟩ [punctuator]() ⟩ colon (:)

{% tabs %}
{% tab title="🔴 主題" %}
* [obj](../../../val/obj/create/obj "mention") - `{ <key> : <value> }`.
* [conditional-operator](../../op/ternary/conditional-operator "mention") - `<condition> ? <a> : <b>`.
* [label](../../statement/other/label "mention") statement - `<label> : <statement>`.
* [switch](../../statement/flow/branch/switch "mention") (case clause) - `case <expr> : <statements>`.
{% endtab %}
{% endtabs %}
