Skip to content

Commit 5a90194

Browse files
committed
docs(basic): fix basic/object
1 parent 4f824c6 commit 5a90194

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/basic/object.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ var obj = {};
364364
var obj = {a: 1, b: 2, c: 3};
365365

366366
for (var i in obj) {
367-
console.log(o[i]);
367+
console.log(obj[i]);
368368
}
369369
// 1
370370
// 2
@@ -420,7 +420,7 @@ for (var key in person) {
420420
// name
421421
```
422422

423-
## with语句
423+
## with 语句
424424

425425
`with`语句的格式如下:
426426

0 commit comments

Comments
 (0)