Skip to content

Commit c5c5795

Browse files
committed
Avoid positional markers
1 parent 7c8742b commit c5c5795

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README-zh-CN.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,11 +2301,13 @@ function combine(a, b) {
23012301
```
23022302
**[⬆ 返回顶部](#代码整洁的-javascript)**
23032303

2304-
### Avoid positional markers
2304+
### 避免占位符
23052305
They usually just add noise. Let the functions and variable names along with the
23062306
proper indentation and formatting give the visual structure to your code.
23072307

2308-
**Bad:**
2308+
它们仅仅添加了干扰。 让函数和变量名称与合适的缩进和格式化为你的代码提供视觉结构。
2309+
2310+
**不好的:**
23092311
```javascript
23102312
////////////////////////////////////////////////////////////////////////////////
23112313
// Scope Model Instantiation
@@ -2323,7 +2325,7 @@ const actions = function() {
23232325
};
23242326
```
23252327

2326-
**Good**:
2328+
**好的:**
23272329
```javascript
23282330
$scope.model = {
23292331
menu: 'foo',

0 commit comments

Comments
 (0)