Tell us what’s happening:
Describe your issue in detail here.
Hi Folks,
what’s wrong in my code ? Help me to pass this test. Thanks for your time. Your code so far
No.1:
You are not supposed to create your own object.
You can delete this.
You want to write a function that works with any object.
Not just one that you created. Or one that works only for the FCC tests.
What if I wanted to test my function with 100 different objects.
Then you would have to code out 100 different objects which is not ideal.
Which leads me to point no.2
No.2:
Your task is supposed to check if obj has the property not myObj.
You need to use the function parameter of obj here
and here
once you make those changes then the test should pass.