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

function.md 中一处示例的单引号写错了

示例中写的是中文全角的单引号,正确的应该是英文的单引号
This commit is contained in:
Milk Lee 2015-07-23 12:34:44 +08:00
parent e80ed65180
commit cd1bb10a1b

View File

@ -497,7 +497,7 @@ const full = ({ first, last }) => first + ' ' + last;
// 等同于
function full( person ){
return person.first + + person.name;
return person.first + ' ' + person.name;
}
```