Hello i have this set of Js Objects :
{Name:"Steve", Gender:"Female", Info : {email:"steve@g.com", status:"main"}}
I want to return the email value from the set
How do i achieve that?
Thanks!
Hello i have this set of Js Objects :
{Name:"Steve", Gender:"Female", Info : {email:"steve@g.com", status:"main"}}
I want to return the email value from the set
How do i achieve that?
Thanks!
What have you tried so far? In what way is it not working for you?
Have you seen:
Thanks.
Am aware of how to directly access objects but am finding it difficult getting the value of the email value inside the info key from my set.
Have you tried using dot or bracket notation to retrieve the object in the Info
property and then use dot or bracket notation to retrieve the email
property of that object?
Worked! Thanks very much!!!