Tell us what’s happening:
Describe your issue in detail here.
no idea what i did wrong
**Your code so far**
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
}
Challenge: Testing Objects for Properties
Link to the challenge: