Commit 3401598
authored
Fix whitespace and add braces to one-line for loop
1) Prior to this change, viewing mixed tabs and spaces on GitHub caused the body of the for loop to have less visually preceding whitespace than the loop description itself.
2) I've included for loop braces to prevent any ambiguity for the reader.
3) Added a space between the reduce callback function and its opening brace to mirror the whitespace used on the first line.1 parent 31b23ad commit 3401598
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
0 commit comments