Error after inserting variable properties?

That makes sense. But I still have to put in

var myObj = {
gift: “pony”,
pet: “kitten”,
bed: “sleigh”
};

inside the brackets or checkObj(“gift”); would not know where to look. Am I correct that you are saying it should be placed after the
return “Not Found”;
}