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