mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Bump to v4.17.2.
This commit is contained in:
@@ -39,8 +39,8 @@ function result(object, path, defaultValue) {
|
||||
|
||||
// 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])];
|
||||
|
||||
Reference in New Issue
Block a user