** how to solve this questions **
**Your code so far**
var obj =
({gift: "pony",
pet: "kitten",
bed: "sleigh",
city: "Seattle"},
"gift","pet", "city")
function checkObj(obj, checkProp) {
// Only change code below this line
if (hasOwnProperty(checkProp)== checkObj)
return "Change Me!";
// Only change code above this line
}
**Your browser information:**
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36
Challenge: Testing Objects for Properties
Link to the challenge: