1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-27 20:32:21 +00:00

Merge pull request #573 from gongpeione/patch-1

Fix 替代数组->替代函数
This commit is contained in:
Ruan YiFeng 2018-01-03 05:46:13 -06:00 committed by GitHub
commit 1335934683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ const arr = [
// [1]
```
### 替代数的 apply 方法
### 替代数的 apply 方法
由于扩展运算符可以展开数组,所以不再需要`apply`方法,将数组转为函数的参数了。