diff --git a/lodash.src.js b/lodash.src.js index db7a787b4..ec2ea55e6 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -4570,7 +4570,7 @@ return value; } var result = []; - (value + '').replace(rePropName, function(match, number, quote, string) { + baseToString(value).replace(rePropName, function(match, number, quote, string) { result.push(typeof string == 'string' ? string : (number || match)); }); return result;