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