mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Bump to v4.10.0.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import baseCastPath from './_baseCastPath';
|
||||
import castPath from './_castPath';
|
||||
import isFunction from './isFunction';
|
||||
import isKey from './_isKey';
|
||||
|
||||
@@ -32,7 +32,7 @@ import isKey from './_isKey';
|
||||
* // => 'default'
|
||||
*/
|
||||
function result(object, path, defaultValue) {
|
||||
path = isKey(path, object) ? [path] : baseCastPath(path);
|
||||
path = isKey(path, object) ? [path] : castPath(path);
|
||||
|
||||
var index = -1,
|
||||
length = path.length;
|
||||
|
||||
Reference in New Issue
Block a user