Exam4Training

Which two options access the email attribute in the object?

A developer uses a parsed JSON string to work with user information as in the block below:

01 const userInformation ={

02 “ id ” : “user-01”,

03 “email” : “user01@universalcontainers.demo”,

04 “age” : 25

Which two options access the email attribute in the object? Choose 2 answers
A . userInformation(“email”)
B. userInformation.get(“email”)
C. userInformation.email
D. userInformation(email)

Answer: A,C

Exit mobile version