Update function.md

勘误。line:766
原:return person.first + ' ' + person.name;
改:return person.first + ' ' + person.last;
This commit is contained in:
zavven
2016-01-19 18:18:39 +08:00
parent 66603c586e
commit a2ec075b69
+1 -1
View File
@@ -763,7 +763,7 @@ const full = ({ first, last }) => first + ' ' + last;
// 等同于
function full( person ){
return person.first + ' ' + person.name;
return person.first + ' ' + person.last;
}
```