# recursive function

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

{% hint style="success" %}
a [function](../../builtin/func) that <mark style="color:yellow;">**calls itself.**</mark>
{% endhint %}

{% tabs %}
{% tab title="🔴 主題" %}
* [recursion](../../../../appendix/algorithms/recursion "mention")
* <mark style="color:yellow;">**recursive function examples**</mark>
  * [findsolution](recursive/findsolution "mention")
  * [deepequal](recursive/deepequal "mention") - check if two objects are "deep equal".
{% endtab %}

{% tab title="📗 參考" %}
* [ ] Eloquent JavaScript ⟩&#x20;
  * [ ] [Recursion](https://eloquentjavascript.net/03_functions.html#h_jxl1p970Fy)
  * [ ] Data Structures ⟩ [A List](https://eloquentjavascript.net/04_data.html#i_nSTX34CM1M), [Deep Comparison](https://eloquentjavascript.net/04_data.html#i_IJBU+aXOIC)
{% endtab %}

{% tab title="📘 手冊" %}
* [ ] [Recursion](https://developer.mozilla.org/en-US/docs/Glossary/Recursion)
{% endtab %}
{% endtabs %}
