Consistent use (always) of parentheses in arrow functions.

This commit is contained in:
Michał Lipiński
2017-03-07 21:57:21 +01:00
parent 7ffe700d66
commit 41a8d2272e
40 changed files with 47 additions and 49 deletions

View File

@@ -31,7 +31,7 @@ function baseIntersection(arrays, iteratee, comparator) {
while (othIndex--) {
array = arrays[othIndex]
if (othIndex && iteratee) {
array = arrayMap(array, value => iteratee(value))
array = arrayMap(array, (value) => iteratee(value))
}
maxLength = nativeMin(array.length, maxLength)
caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))