From 1266d49c65cd9ca7caa3ad625d5f6bdddd156f3b Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 2 Jan 2015 10:20:10 -0600 Subject: [PATCH] Minor tweak to condition in `_.zipObject`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 19027c36c..1aa3bb54d 100644 --- a/lodash.js +++ b/lodash.js @@ -5304,7 +5304,7 @@ length = props ? props.length : 0, result = {}; - if (!values && length && !isArray(props[0])) { + if (length && !values && !isArray(props[0])) { values = []; } while (++index < length) {