For this lesson, The Question does not tally with the requirements.
How best can we avoid ths??

1 Like

Can you share the name of this question and which section it’s in? That might help. Cheers!

Testing Objects for Properties

The link attached earlier points directly to the question.

Hi @habibajao2673423

I dont remember what i did there and I cant see your code but you just need to use hasOwnProperty(), and just a tip: use brackets to access or return object property, it wont work with dot notation and a paramater or a variable; this is the typical mistake we a lot of us have done.
Good luck, let us know if you got it :smile: