File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ Other Style Guides
8989
9090 - [2.1 ](#2.1 ) < a name= ' 2.1' >< / a> Use ` const` for all of your references; avoid using ` var` .
9191
92- > Why? This ensures that you can' t reassign your references (mutation) , which can lead to bugs and difficult to comprehend code.
92+ > Why? This ensures that you can' t reassign your references, which can lead to bugs and difficult to comprehend code.
9393
9494 ```javascript
9595 // bad
@@ -101,7 +101,7 @@ Other Style Guides
101101 const b = 2;
102102 ```
103103
104- - [2.2](#2.2) <a name=' 2.2 ' ></a> If you must mutate references, use `let` instead of `var`.
104+ - [2.2](#2.2) <a name=' 2.2 ' ></a> If you must reassign references, use `let` instead of `var`.
105105
106106 > Why? `let` is block-scoped rather than function-scoped like `var`.
107107
You can’t perform that action at this time.
0 commit comments