From cd1bb10a1b1e8f5d127314ccda73abdda9f2cb38 Mon Sep 17 00:00:00 2001 From: Milk Lee Date: Thu, 23 Jul 2015 12:34:44 +0800 Subject: [PATCH] =?UTF-8?q?function.md=20=E4=B8=AD=E4=B8=80=E5=A4=84?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E7=9A=84=E5=8D=95=E5=BC=95=E5=8F=B7=E5=86=99?= =?UTF-8?q?=E9=94=99=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 示例中写的是中文全角的单引号,正确的应该是英文的单引号 --- docs/function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/function.md b/docs/function.md index 0c35f8c..a47cc07 100644 --- a/docs/function.md +++ b/docs/function.md @@ -497,7 +497,7 @@ const full = ({ first, last }) => first + ' ' + last; // 等同于 function full( person ){ - return person.first + ‘ ‘ + person.name; + return person.first + ' ' + person.name; } ```