mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Adjust spacing in template string expressions.
This commit is contained in:
@@ -50,7 +50,7 @@ function toNumber(value) {
|
||||
}
|
||||
if (isObject(value)) {
|
||||
const other = typeof value.valueOf == 'function' ? value.valueOf() : value
|
||||
value = isObject(other) ? `${ other }` : other
|
||||
value = isObject(other) ? `${other}` : other
|
||||
}
|
||||
if (typeof value != 'string') {
|
||||
return value === 0 ? value : +value
|
||||
|
||||
Reference in New Issue
Block a user