Code formatting nit for coercing to strings.

This commit is contained in:
jdalton
2015-07-07 08:16:15 -07:00
committed by John-David Dalton
parent caae7a5879
commit 5d88cb7099

View File

@@ -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 + ''));
};
}