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

@@ -37,12 +37,12 @@ function toString(value) {
}
if (Array.isArray(value)) {
// Recursively convert values (susceptible to call stack limits).
return `${ arrayMap(value, (other) => other == null ? other : toString(other)) }`
return `${arrayMap(value, (other) => other == null ? other : toString(other))}`
}
if (isSymbol(value)) {
return symbolToString ? symbolToString.call(value) : ''
}
const result = `${ value }`
const result = `${value}`
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result
}