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

@@ -31,7 +31,7 @@ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
(getTag(Promise.resolve()) != promiseTag) ||
(getTag(new Set) != setTag) ||
(getTag(new WeakMap) != weakMapTag)) {
getTag = value => {
getTag = (value) => {
const result = baseGetTag(value)
const Ctor = result == objectTag ? value.constructor : undefined
const ctorString = Ctor ? toSource(Ctor) : ''