mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Fix typo in findKey.
This commit is contained in:
@@ -28,7 +28,7 @@ function findKey(object, predicate) {
|
||||
Object.keys(object).some((key) => {
|
||||
const value = object[key]
|
||||
if (predicate(value, key, object)) {
|
||||
result = value
|
||||
result = key
|
||||
return true
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user