Hi Does anyone can help me with this?

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

function checkObj(obj, checkProp) {
// Only change code below this line

var checkObj = {
gift: "pony",
pet: "kitten",
bed: "sleigh",
city: "Seattle",
}
if (obj.hasOwnProperty(checkPop)){
  return obj[checkProp];
} else {
return "Not Found";
// Only change code above this line
}
}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Testing Objects for Properties

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


Why is this here? The instructions don’t say to hard-code a single object for this function to use. You need to use obj, not checkObj.