mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Code formatting nit for coercing to strings.
This commit is contained in:
committed by
John-David Dalton
parent
caae7a5879
commit
5d88cb7099
@@ -9713,7 +9713,7 @@
|
||||
* // => '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;
|
||||
}
|
||||
|
||||
@@ -11651,7 +11651,7 @@
|
||||
*/
|
||||
function propertyOf(object) {
|
||||
return function(path) {
|
||||
return baseGet(object, toPath(path), path + '');
|
||||
return baseGet(object, toPath(path), (path + ''));
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user