From fe581453221eeefcd9cace9eb738fc6558c19db8 Mon Sep 17 00:00:00 2001 From: Feng Hao Date: Fri, 28 Aug 2015 11:06:16 +0800 Subject: [PATCH] Update array.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Array.prototyp.slice 改为 Array.prototype.slice --- docs/array.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/array.md b/docs/array.md index 94ad042..24b0da3 100644 --- a/docs/array.md +++ b/docs/array.md @@ -31,7 +31,7 @@ Array.from({ 0: "a", 1: "b", 2: "c", length: 3 }); // [ "a", "b" , "c" ] ``` -对于还没有部署该方法的浏览器,可以用Array.prototyp.slice方法替代。 +对于还没有部署该方法的浏览器,可以用Array.prototype.slice方法替代。 ```javascript const toArray = (() =>