We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7221b9 commit c541e4cCopy full SHA for c541e4c
maxBy.js
@@ -22,8 +22,8 @@ function maxBy(array, iteratee) {
22
if (array == null) {
23
return result
24
}
25
+ let computed
26
for (const value of array) {
- let computed
27
const current = iteratee(value)
28
29
if (current != null && (computed === undefined
minBy.js
@@ -22,8 +22,8 @@ function minBy(array, iteratee) {
0 commit comments