We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 725d2b2 commit ad29269Copy full SHA for ad29269
README-zh-CN.md
@@ -2209,10 +2209,12 @@ review.perfReview();
2209
**[⬆ 返回顶部](#代码整洁的-javascript)**
2210
2211
## **评论**
2212
-### Only comment things that have business logic complexity.
+### 仅仅对包含复杂业务逻辑的东西进行评论
2213
Comments are an apology, not a requirement. Good code *mostly* documents itself.
2214
2215
-**Bad:**
+评论是代码的辩解, 不是要求。 多数情况下, 好的代码就是文档。
2216
+
2217
+**不好的:**
2218
```javascript
2219
function hashIt(data) {
2220
// The hash
@@ -2233,7 +2235,7 @@ function hashIt(data) {
2233
2235
}
2234
2236
```
2237
-**Good**:
2238
+**好的:**
2239
2240
2241
0 commit comments