File tree
Expand file treeCollapse file tree1 file changed
+1
-2
lines changed Expand file treeCollapse file tree1 file changed
+1
-2
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -708,8 +708,7 @@ const programmerOutput = [
|
708 | 708 | const INITIAL_VALUE = 0;
|
709 | 709 |
|
710 | 710 | const totalOutput = programmerOutput
|
711 |
| -.map((programmer) => programmer.linesOfCode) |
712 |
| -.reduce((acc, linesOfCode) => acc + linesOfCode, INITIAL_VALUE); |
| 711 | +.reduce((acc, { linesOfCode }) => acc + linesOfCode, INITIAL_VALUE); |
713 | 712 | ```
|
714 | 713 | **[⬆ back to top](#table-of-contents)**
|
715 | 714 |
|
|
You can’t perform that action at this time.
0 commit comments