How to access the dob prop in this object nested in an array(dataGrep)?

I tried dataGrep[0].dob but it isn’t working

I’m confused, please help

Try taking it step-by-step. Check what specifically is dataGrep[0], then look what else is needed to get to the attribute you want.

it shows an error(undefined)

That’s strange, what’s then just dataGrep?