mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-27 20:32:21 +00:00
commit
1335934683
@ -58,7 +58,7 @@ const arr = [
|
||||
// [1]
|
||||
```
|
||||
|
||||
### 替代数组的 apply 方法
|
||||
### 替代函数的 apply 方法
|
||||
|
||||
由于扩展运算符可以展开数组,所以不再需要`apply`方法,将数组转为函数的参数了。
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user