From 972a71660034616fcd24a764774170010820f1c4 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 9 May 2012 02:02:29 -0400 Subject: [PATCH] Small change to _.max. Former-commit-id: ee7a5a78087ce8a92b06b7cd542903433053e649 --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 52137f87e..208faebd7 100644 --- a/lodash.js +++ b/lodash.js @@ -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]; }