diff --git a/lodash.js b/lodash.js index ea71f8525..72385d461 100644 --- a/lodash.js +++ b/lodash.js @@ -11605,9 +11605,8 @@ if (typeof value == 'number') { return value; } - var result = baseToNumber(value); - if (result !== result) { - return result; + if (isSymbol(value)) { + return NAN; } if (isObject(value)) { var other = isFunction(value.valueOf) ? value.valueOf() : value;