From a2ec075b698ddbeedabce1275523ab37210be258 Mon Sep 17 00:00:00 2001 From: zavven Date: Tue, 19 Jan 2016 18:18:39 +0800 Subject: [PATCH] Update function.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 勘误。line:766 原:return person.first + ' ' + person.name; 改:return person.first + ' ' + person.last; --- docs/function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/function.md b/docs/function.md index cd3cd71..c81fc36 100644 --- a/docs/function.md +++ b/docs/function.md @@ -763,7 +763,7 @@ const full = ({ first, last }) => first + ' ' + last; // 等同于 function full( person ){ - return person.first + ' ' + person.name; + return person.first + ' ' + person.last; } ```