Testing Objects for Properties Challenge Difficulties

That was like mine, but you avoided all mistakes!

I did the same mistake :smile_cat:…thank’s for the answer

Wow, the-thief you just saved the day much thanks, I didn’t know that. It didn’t even have a hint about that. I thought it was the same as it didn’t point to that in previous exercises.

A very simple solution:

function checkObj(checkProp) {
  return myObj.hasOwnProperty(checkProp) ? myObj[checkProp] : "Not Found";
}