Skip to content

Commit 4f39ee3

Browse files
Update 6-matrix.js
1 parent 52e61db commit 4f39ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exercises/6-matrix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const max = matrix => {
77
list.push(inside);
88
}
99
}
10-
// gggggggggggggggggggggggggggggggg
10+
// find max value in list of all elements with reduce
1111
return list.reduce((acc, x) => acc > x ? acc : x);
1212
};
1313

0 commit comments

Comments
 (0)