Space nit in _.toNumber. [ci skip]

This commit is contained in:
John-David Dalton
2016-03-31 23:24:00 -07:00
parent 3902fd1a67
commit 9dbd665d05

View File

@@ -11367,7 +11367,7 @@
value = isObject(other) ? (other + '') : other; value = isObject(other) ? (other + '') : other;
} }
if (typeof value != 'string') { if (typeof value != 'string') {
return value === 0 ? value : +value; return value === 0 ? value : +value;
} }
value = value.replace(reTrim, ''); value = value.replace(reTrim, '');
var isBinary = reIsBinary.test(value); var isBinary = reIsBinary.test(value);