Skip to content

Commit 90392b6

Browse files
authored
Fix 替代数组->替代函数
扩展运算符应该是可以替代函数的 apply 方法。
1 parent b9e9f4e commit 90392b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const arr = [
5858
// [1]
5959
```
6060

61-
### 替代数组的 apply 方法
61+
### 替代函数的 apply 方法
6262

6363
由于扩展运算符可以展开数组,所以不再需要`apply`方法,将数组转为函数的参数了。
6464

0 commit comments

Comments
 (0)