The console refers to all these properties: gift, pet, bed, none of which are present in the editor. It looks like the editor is missing the information.
**Your code so far**
function checkObj(obj, checkProp) {
// Only change code below this line
if (obj(hasOwnProperty(checkProp))) {
return [checkProp];
} else {
return "Not Found";
}
// Only change code above this line
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0.
no information is missing, you need to create a function that accepts an object and a string and check if the object has a property with the name equal to that string, the tests then check with some random input
here you have a syntax issue, that’s making your code fail