Check if an Object has a Property not passed

i wrote this code but the test not passed can anyone help

function isEveryoneHere(userObj) {
  // Only change code below this line
  if (userObj in users){
    return true;
  }
  return false;
  // Only change code above this line
}

what challenge is this? please remember to include the challenge link when you ask for help, or use the Ask for help button so it will do that for you

I see the tests sayint

The users object should not be accessed directly

but you have this:

also seeinf line 29 you are trying to see if an object is a property of itself, which is not logically sound

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.