Adjust spacing in template string expressions.

This commit is contained in:
John-David Dalton
2017-04-08 22:41:48 -07:00
parent 303502efa7
commit d10b44bdef
29 changed files with 90 additions and 90 deletions

View File

@@ -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