Skip to content

Commit fe73acd

Browse files
authored
Docs: Update dictionary.md (#25)
1 parent 7b2a25b commit fe73acd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

i18n/zh-cn/docusaurus-plugin-content-docs/current/dictionary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ sidebar_label: 字典
1515
```javascript
1616
let personalInfo = {};
1717

18-
personalInfo.name: 'luckrnx09',
19-
personalInfo.age: 18,
20-
personalInfo.city: '成都'
18+
personalInfo.name = 'luckrnx09',
19+
personalInfo.age = 18,
20+
personalInfo.city = '成都'
2121

2222
console.log(personalInfo);
2323
```

0 commit comments

Comments
 (0)