---
description: punctuator '[' and ']'.
---

# brackets \[]

[JS](../../..) ⟩ [grammar](../..) ⟩ [token](..) ⟩ [punctuator]() ⟩ bracket \[]

{% tabs %}
{% tab title="🔴 主題" %}
* [bracket-notation](../../../val/obj/prop/access/bracket-notation "mention") - `a[1]`.
* [optional-chaining](../../../val/obj/prop/access/optional-chaining "mention") - `obj ?. [prop]`.
* [arr](../../../val/builtin/arr/create/arr "mention") - `[1,2,3]`.
{% endtab %}
{% endtabs %}
