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 ad29269 commit c697216Copy full SHA for c697216
README-zh-CN.md
@@ -2254,18 +2254,20 @@ function hashIt(data) {
2254
```
2255
**[⬆ 返回顶部](#代码整洁的-javascript)**
2256
2257
-### Don't leave commented out code in your codebase
+### 不要在代码库中保存注释掉的代码
2258
Version control exists for a reason. Leave old code in your history.
2259
2260
-**Bad:**
+因为有版本控制, 把旧的代码留在历史记录即可。
2261
+
2262
+**不好的:**
2263
```javascript
2264
doStuff();
2265
// doOtherStuff();
2266
// doSomeMoreStuff();
2267
// doSoMuchStuff();
2268
2269
-**Good**:
2270
+**好的:**
2271
2272
2273
0 commit comments