Tell us what’s happening:
Describe your issue in detail here.
I need help answering the question, I have tried several ways to no avail. please help
“Modify the function checkObj to test if an object passed to the function ( obj ) contains a specific property ( checkProp ). If the property is found, return that property’s value. If not, return "Not Found" .”
**Your code so far**
function checkObj(obj, checkProp) {
// Only change code below this line
const checkObj = {
gift: "pony",
pet: "kitten",
bed: "sleigh",
city: "Seattle",
house: "",
district: "",
};
obj.hasownProperty("pony", "kitten","sleigh");
checkProp.hasownProperty("Seattle", "district", "house");
return "Not Found";
// Only change code above this line
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0