Need help with Basic Javascript - Testing Objects for Properties

I am requesting a review on what I am doing wrong on this exercise:


function checkObj(obj, checkProp) {
  // Only change code below this line
  if(obj.hasOwnProperty("checkProp")){
    return obj[checkProp];
  }else{
     return "Not Found";
  }  
  // Only change code above this line
}

You are literally checking if obj has a property named checkProp. Is that what you want to do?

Checking for the key. Thank you.