What's wrong with my Testing Objects for Properties

Tell us what’s happening:

I don’t really understand what I do wrong here. Also, confused about the function, var object correlation.

Any help understanding the problem with my syntax and explanation would be greatly appreciated.

Your code so far

// Setup
var myObj = {
  gift: "pony",
  pet: "kitten",
  bed: "sleigh"

function checkObj(checkProp) {
  // Your Code Here
  if (myObj.hasOwnProperty(checkProp)){
    return myObj[checkProp];
  else {
  return "Not Found!";

// Test your code by modifying these values

Your browser information:

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

Link to the challenge:

You have an “!” after not found. Other than that your code is correct.