Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1-js/06-advanced-functions/01-recursion/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ alert( pow(2, 3) );

为了计算 `x * pow(x, n - 1)`,我们需要使用带有新参数的新的 `pow` 子调用 `pow(2, 2)`。

### pow2, 2)
### pow(2, 2)

为了执行嵌套调用,JavaScript 会在 **执行上下文堆栈** 中记住当前的执行上下文。

Expand Down