mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Consistent use (always) of parentheses in arrow functions.
This commit is contained in:
@@ -22,7 +22,7 @@ function pickBy(object, predicate) {
|
||||
if (object == null) {
|
||||
return {}
|
||||
}
|
||||
const props = arrayMap(getAllKeysIn(object), prop => [prop])
|
||||
const props = arrayMap(getAllKeysIn(object), (prop) => [prop])
|
||||
return basePickBy(object, props, (value, path) => predicate(value, path[0]))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user