Is the 'hasOwnProperty' topic missing something?

I feel like there is some set up code missing for this challenge? Where is all the pony, kitten and bed stuff going to come from?
Perhaps I need to create it?

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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36.

Challenge: Testing Objects for Properties

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/testing-objects-for-properties

The test code will call your function with those inputs.
The first argument obj is an Object.
The second argument checkProp is a string.
You don’t need to care about what the contents of those arguments are, because this should be a generic function.

1 Like

okay. Thank you so much! I’ll keep thinking on it