You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ This section has been eliminated in the Meteor version, because it does not spec
51
51
52
52
## References
53
53
54
-
-[2.1](#2.1) <aname='2.1'></a> Use `const` for all of your references; avoid using `var`.
54
+
-[2.1](#2.1) <aname='2.1'></a> <imgsrc="http://eslint.org/img/logo.svg"height="18"alt="linted by eslint" /> Use `const` for all of your references; avoid using `var`.
55
55
56
56
> Why? This ensures that you can't reassign your references (mutation), which can lead to bugs and difficult to comprehend code.
57
57
@@ -65,7 +65,7 @@ This section has been eliminated in the Meteor version, because it does not spec
65
65
constb=2;
66
66
```
67
67
68
-
- [2.2](#2.2) <a name='2.2'></a> If you must mutate references, use `let` instead of`var`.
68
+
- [2.2](#2.2) <a name='2.2'></a><img src="http://eslint.org/img/logo.svg" height="18" alt="linted by eslint"/>If you must mutate references, use `let` instead of`var`.
69
69
70
70
> Why?`let` is block-scoped rather than function-scoped like `var`.
71
71
@@ -89,7 +89,7 @@ This section has been eliminated in the Meteor version, because it does not spec
89
89
90
90
## Objects
91
91
92
-
- [3.1](#3.1) <a name='3.1'></a> Use the literal syntax for object creation.
92
+
- [3.1](#3.1) <a name='3.1'></a> Use the literal syntax for object creation.
93
93
94
94
```javascript
95
95
// bad
@@ -1284,7 +1284,8 @@ This section has been eliminated in the Meteor version, because it does not spec
> Why? This leads to cleaner git diffs. Also, transpilers like Babel will remove the additional trailing comma in the transpiled code which means you don't have to worry about the [trailing comma problem](es5/README.md#commas) in legacy browsers.
0 commit comments