Tell us what’s happening:
Not sure if this lesson is messed up.
Can anyone help me out?
Literally nothing to go off . Looks bugged
Your code so far
var myObj = {
gift: “pony”,
pet: “kitten”,
bed: “sleigh”
city: “Seattle”
};
function checkObj(checkProp) {
var answer = “Not Found”;
if (myObj.hasOwnProperty(checkProp)) {
answer = myObj[checkProp];
}
return answer;
// Only change code above this line
}