I get the results correct in the console.log entries

Tell us what’s happening:

I get the results correct in the console.log entries. But it won’t pass the tests?

Your code so far

 var myObj = {
   gift: "pony",
   pet: "kitten",
   bed: "sliegh"
function checkObj(checkProp) {
 if (myObj.hasOwnProperty(checkProp)) {
   return myObj[checkProp];
 } else {
   return "Not Found";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 Edg/80.0.361.69.

Challenge: Testing Objects for Properties

Link to the challenge:

There was a bug with this challenge but it has been fixed now. Reset the code and start over. You should get something like

function checkObj(obj, checkProp) {
  // Only change code below this line
  return "Change Me!";
  // Only change code above this line

Ok that actually makes sense in the tutorial he doesn’t use that in fact he deletes it.