From 5d88cb7099195a3ca6d3162885ae0874618d5b59 Mon Sep 17 00:00:00 2001 From: jdalton Date: Tue, 7 Jul 2015 08:16:15 -0700 Subject: [PATCH] Code formatting nit for coercing to strings. --- lodash.src.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.src.js b/lodash.src.js index e707a5ebb..0b214a929 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -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 + '')); }; }