mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Adjust spacing in template string expressions.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user