mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Bump to v3.10.1.
This commit is contained in:
@@ -28,7 +28,7 @@ define(['../internal/baseGet', '../internal/toPath'], function(baseGet, toPath)
|
||||
* // => 'default'
|
||||
*/
|
||||
function get(object, path, defaultValue) {
|
||||
var result = object == null ? undefined : baseGet(object, toPath(path), path + '');
|
||||
var result = object == null ? undefined : baseGet(object, toPath(path), (path + ''));
|
||||
return result === undefined ? defaultValue : result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user