mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Fix typos.
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
function filterObject(object, predicate) {
|
||||
const result = []
|
||||
Object.keys(Object(object)).forEach((key) => {
|
||||
if (predicate(object[key], key, object)) {
|
||||
const value = object[key]
|
||||
if (predicate(value, key, object)) {
|
||||
result.push(value)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user