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”: “[email protected]”,
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
Latest JavaScript Developer I Practice Questions with 144 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments