mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
commit
1fe658fd8b
@ -763,7 +763,7 @@ const full = ({ first, last }) => first + ' ' + last;
|
|||||||
|
|
||||||
// 等同于
|
// 等同于
|
||||||
function full( person ){
|
function full( person ){
|
||||||
return person.first + ' ' + person.name;
|
return person.first + ' ' + person.last;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user