diff --git a/lodash.js b/lodash.js index a9444b76b..8196609ef 100644 --- a/lodash.js +++ b/lodash.js @@ -13590,8 +13590,8 @@ // Ensure the loop is entered when path is empty. if (!length) { - object = undefined; length = 1; + object = undefined; } while (++index < length) { var value = object == null ? undefined : object[toKey(path[index])];