mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
Update function.md
勘误。line:766 原:return person.first + ' ' + person.name; 改:return person.first + ' ' + person.last;
This commit is contained in:
parent
66603c586e
commit
a2ec075b69
@ -763,7 +763,7 @@ const full = ({ first, last }) => first + ' ' + last;
|
||||
|
||||
// 等同于
|
||||
function full( person ){
|
||||
return person.first + ' ' + person.name;
|
||||
return person.first + ' ' + person.last;
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user