1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Merge pull request #126 from zavven/patch-1

勘误 function.md line:766
This commit is contained in:
Ruan YiFeng 2016-01-19 18:34:19 +08:00
commit 1fe658fd8b

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;
}
```