# creating functions

[JS](../..) ⟩ [value](..) ⟩ [function]() ⟩ create

{% hint style="success" %}
create [](<> "mention")s using [declare](declare "mention") / [expr](expr "mention") / [func](../builtin/func "mention").
{% endhint %}

{% tabs %}
{% tab title="🔴 主題" %}
* [declare](declare "mention")
* using [func](../builtin/func "mention") constructor
* [expr](expr "mention") - an [expr](../../grammar/statement/expr "mention") that evaluates to a <mark style="color:purple;">**function**</mark>.
  * [arrow](arrow "mention")
  * [iife](expr/iife "mention") - immediately invoked function expression
{% endtab %}
{% endtabs %}
