mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 19:07:49 +00:00
Fixin declaration in someValues (571e752).
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
function someValues(object, predicate) {
|
function someValues(object, predicate) {
|
||||||
const props = Object.keys(Object(object))
|
const props = Object.keys(Object(object))
|
||||||
for (key of props) {
|
for (const key of props) {
|
||||||
if (predicate(object[key], key, object)) {
|
if (predicate(object[key], key, object)) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user