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:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
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 .
ilenia
April 13, 2020, 4:31pm
3
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