Remove _.isFunction use from _.toNumber.

This commit is contained in:
John-David Dalton
2016-08-08 15:44:49 -07:00
parent 6d930d6920
commit 36cf5a7ff3

View File

@@ -12018,7 +12018,7 @@
return NAN;
}
if (isObject(value)) {
var other = isFunction(value.valueOf) ? value.valueOf() : value;
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
value = isObject(other) ? (other + '') : other;
}
if (typeof value != 'string') {