Consistent parens usage for arrow functions with body.

This commit is contained in:
Michał Lipiński
2017-02-27 12:15:08 +01:00
parent 4c4b29cdef
commit d8b5183b1d
13 changed files with 16 additions and 12 deletions

View File

@@ -37,7 +37,7 @@ 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) : ''