I can't sove this

I can’t solve that exercise someone can help me please
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/-iterate-through-the-keys-of-an-object-with-a-for---in-statement
let users = {
Alan: {
age: 27,
online: false
},
Jeff: {
age: 32,
online: true
},
Sarah: {
age: 48,
online: false
},
Ryan: {
age: 19,
online: true
}
};

function countOnline(obj) {
// change code below this line
function countOnline(obj) {
// change code below this line

// change code above this line
}
// change code above this line
}

console.log(countOnline(users));

We’ve defined a function, countOnline; use a for…in statement within this function to loop through the users in the users object and return the number of users whose online property is set to true.

Hello Miki,

Please edit your post, then select the code section you pasted, and press ctrl + shift + C to apply code format to them. It’s now easier to read. (I also think you pasted some code parts twice)

So which part of the challenge is not clear for you?

Let’s go with this tip,
TIP: in your countOnline function, have a for loop to iterate over all input argument obj, because it’s an array.