Skip to content

Commit 67c31b2

Browse files
committed
Merge pull request DrkSephy#58 from hkongm/patch-2
fixed the wrong chinese char
2 parents 11c0176 + f24abc8 commit 67c31b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README_zhCn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ console.log(b); // 2
318318

319319
### Destructuring Objects
320320

321-
**结构对象**
321+
**解构对象**
322322

323323
```javascript
324324
var luke = { occupation: 'jedi', father: 'anakin' };
@@ -524,7 +524,7 @@ function initializeCanvas(options) {
524524
}
525525
```
526526

527-
我们可以利用上面提到的新特性 **结构** ,来完成与上面同样功能的函数:
527+
我们可以利用上面提到的新特性 **解构** ,来完成与上面同样功能的函数:
528528
We can achieve the same functionality using destructuring as a formal parameter
529529
to a function:
530530

@@ -536,7 +536,7 @@ function initializeCanvas(
536536
// Use variables height, width, lineStroke here
537537
```
538538

539-
如果我们需要把这个参数变为可选的,那么只要把该参数结构为一个空对象就好了
539+
如果我们需要把这个参数变为可选的,那么只要把该参数解构为一个空对象就好了
540540

541541
```javascript
542542
function initializeCanvas(

0 commit comments

Comments
 (0)