I'm Stuck on Testing Objects for Properties

EDIT: Okay, I see what you’re getting at now…thanks.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Not sure what you mean…but can you check out my “Epiphany from ‘Testing Objects for Properties’?” Post?

It seems like in this Challenge, bracket notation is preferred because strings get passed into functions along with their quotations marks, thus rendering myObj.checkProp into myObj."gift"???

Whereas myObj[checkProp] conveniently gets rendered into myObj["gift"]…is that why?? Why bracket notation is required here?