Fixin declaration in someValues (571e752).

This commit is contained in:
Michał Lipiński
2017-04-04 19:22:54 +02:00
parent 402ca89c50
commit 645acd4275

View File

@@ -16,7 +16,7 @@
*/
function someValues(object, predicate) {
const props = Object.keys(Object(object))
for (key of props) {
for (const key of props) {
if (predicate(object[key], key, object)) {
return true
}