mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Bump to v4.4.0.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import baseToPath from './_baseToPath';
|
||||
import baseCastPath from './_baseCastPath';
|
||||
import isKey from './_isKey';
|
||||
|
||||
/**
|
||||
@@ -10,7 +10,7 @@ import isKey from './_isKey';
|
||||
* @returns {*} Returns the resolved value.
|
||||
*/
|
||||
function baseGet(object, path) {
|
||||
path = isKey(path, object) ? [path + ''] : baseToPath(path);
|
||||
path = isKey(path, object) ? [path + ''] : baseCastPath(path);
|
||||
|
||||
var index = 0,
|
||||
length = path.length;
|
||||
|
||||
Reference in New Issue
Block a user