Wrong challenge!

Tell us what’s happening:
where the object?

i don’t know there is something wrong!
Your code so far

function checkObj(obj, checkProp) {
// Only change code below this line
return "Change Me!";
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36.

Challenge: Testing Objects for Properties

Link to the challenge:

The challenge is correct. The object is in the arguments list for the function.

You can rest the code with the sample object from the video in repl.it.

the challenge was changed, the version in the video is the old one

The object will be passed into your function as obj. Your function doesn’t need to know what the object will look like (although you can look at the test cases for examples). The correct function will work for any object.

thanks! it is right. the function is work

I’m glad to hear it. Happy coding!

1 Like