diff --git a/docs/function.md b/docs/function.md index cd3cd71..c81fc36 100644 --- a/docs/function.md +++ b/docs/function.md @@ -763,7 +763,7 @@ const full = ({ first, last }) => first + ' ' + last; // 等同于 function full( person ){ - return person.first + ' ' + person.name; + return person.first + ' ' + person.last; } ```