Small change to _.max.

Former-commit-id: ee7a5a78087ce8a92b06b7cd542903433053e649
This commit is contained in:
John-David Dalton
2012-05-09 02:02:29 -04:00
parent b5c4a9241b
commit 972a716600

View File

@@ -1278,7 +1278,7 @@
}
while (++index < length) {
current = callback ? callback(array[index], index, array) : array[index];
if (current >= computed) {
if (current > computed) {
computed = current;
result = array[index];
}