# assignment to constant variable❗️

[JS](../..) ⟩ [error](..) ⟩ [TypeError]() ⟩ assignment to constant variable:exclamation:

{% hint style="warning" %}
[](<> "mention")：[<mark style="color:yellow;">**assignment to constant variable**</mark>](const-no-reassign):exclamation:
{% endhint %}

{% tabs %}
{% tab title="✨ 範例" %}
* [cant-reassign](../../variable/declare/const/cant-reassign "mention")
* [no-for-loop](../../variable/declare/const/no-for-loop "mention")
{% endtab %}
{% endtabs %}
