Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
function countOnline(usersObj) {
let count = 0;
// Only change code below this line
for(let user in usersObj) {
if(user["online"] == true)
count++;
}
return count;
// Only change code above this line
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15
Challenge: Iterate Through the Keys of an Object with a for…in Statement