diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:43:23 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:43:23 -0500 |
commit | 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (patch) | |
tree | a9ef8ac1e1b8fe4207b6d64d3841bfb8990b6fd0 /files/zh-tw/glossary/recursion/index.html | |
parent | 074785cea106179cb3305637055ab0a009ca74f2 (diff) | |
download | translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.gz translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.bz2 translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.zip |
initial commit
Diffstat (limited to 'files/zh-tw/glossary/recursion/index.html')
-rw-r--r-- | files/zh-tw/glossary/recursion/index.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/files/zh-tw/glossary/recursion/index.html b/files/zh-tw/glossary/recursion/index.html new file mode 100644 index 0000000000..9712988a69 --- /dev/null +++ b/files/zh-tw/glossary/recursion/index.html @@ -0,0 +1,15 @@ +--- +title: 遞迴 +slug: Glossary/Recursion +translation_of: Glossary/Recursion +--- +<p>函式呼叫函式自己的行為,稱為遞迴、或是遞歸。它主要用於解決含有子問題的問題。遞迴函式會收到兩個輸入:結束遞迴的基本情況(base case)或是延續遞迴的遞迴情況(recursive case)。</p> + +<h2 id="深入了解">深入了解</h2> + +<h3 id="基本知識">基本知識</h3> + +<ul> + <li>維基百科的{{Interwiki("wikipedia", "遞迴")}}</li> + <li><a href="https://developer.mozilla.org/zh-TW/docs/Web/JavaScript/Guide/Functions#Recursion">關於 JavaScript 遞迴的詳情</a></li> +</ul> |