Look at the value you’re passing for checkProp - it’s a string. So, using dot notation would give you myObj."gift". However, if you look at the properties of myObj, they’re not written as strings. Just for fun, do console.log(myObj.gift), and then console.log(myObj."gift").
Anyway, if you have to pass in a property as a string here, use bracket notation.
Be careful there, dot notation want an exact match to the property name, if you have a variable that holds the property name you want to always use bracket notation