File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -980,7 +980,7 @@ they are fixed if they can be.
|
980 | 980 | ```javascript
|
981 | 981 | // On old browsers, each iteration with uncached `list.length` would be costly
|
982 | 982 | // because of `list.length` recomputation. In modern browsers, this is optimized.
|
983 |
| -for (let i = 0; len = list.length; i < len; i++) { |
| 983 | +for (let i = 0, len = list.length; i < len; i++) { |
984 | 984 | // ...
|
985 | 985 | }
|
986 | 986 | ```
|
|
You can’t perform that action at this time.
0 commit comments