From 90392b6e406832ede41d925787ac199e674cdaef Mon Sep 17 00:00:00 2001 From: gongpeione Date: Wed, 3 Jan 2018 00:36:05 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E6=9B=BF=E4=BB=A3=E6=95=B0=E7=BB=84->?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 扩展运算符应该是可以替代函数的 apply 方法。 --- docs/array.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/array.md b/docs/array.md index b57ec7e..ebb5e96 100644 --- a/docs/array.md +++ b/docs/array.md @@ -58,7 +58,7 @@ const arr = [ // [1] ``` -### 替代数组的 apply 方法 +### 替代函数的 apply 方法 由于扩展运算符可以展开数组,所以不再需要`apply`方法,将数组转为函数的参数了。