From fcdea67264949da25ad90e124016bf45c1348d76 Mon Sep 17 00:00:00 2001 From: Jacty Date: Sat, 22 Apr 2017 02:32:49 +0800 Subject: [PATCH] typo typo --- docs/function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/function.md b/docs/function.md index dc00bbf..490a179 100644 --- a/docs/function.md +++ b/docs/function.md @@ -591,7 +591,7 @@ rest // [2, 3, 4, 5] const [first, ...rest] = []; first // undefined -rest // []: +rest // [] const [first, ...rest] = ["foo"]; first // "foo"