Skip to content

Commit 6756387

Browse files
authored
fix: typo (#1141)
pow(2, 2)->pow(2, 2)
1 parent 58ebcb3 commit 6756387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/01-recursion/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ alert( pow(2, 3) );
160160

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

163-
### pow2, 2)
163+
### pow(2, 2)
164164

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

0 commit comments

Comments
 (0)