Minor tweak to condition in _.zipObject.

This commit is contained in:
John-David Dalton
2015-01-02 10:20:10 -06:00
parent c8b130b232
commit 1266d49c65

View File

@@ -5304,7 +5304,7 @@
length = props ? props.length : 0, length = props ? props.length : 0,
result = {}; result = {};
if (!values && length && !isArray(props[0])) { if (length && !values && !isArray(props[0])) {
values = []; values = [];
} }
while (++index < length) { while (++index < length) {