Pls i need help with this

Tell us what’s happening:

Your code so far


function countOnline(usersObj) {
// Only change code below this line

// Only change code above this line
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Iterate Through the Keys of an Object with a for…in Statement

Link to the challenge:

It looks like that is the starter code for the challenge, what is the issue that you are concerned with?

This is a challenge and you need to solve it.

It looks like you haven’t put any code in yet and you forgot to Tell us what’s happening:.

What do you need help with?

Hello!

What have you tried so far? What isn’t working? What are you struggling with?

  1. Can you start by showing us how you would loop the object, using a for…in loop?

  2. Then show us how you would access the nested objects inside the for…in loop.

  3. Then show us how you would access the online property.