This is my solution, but it’s not passing. Am I missing something?
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
}