logo

Crowdly

Browser

Add to Chrome

Context: Accessing object properties dynamically. What does this log? const ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Context:

Accessing object properties dynamically.

What does this log?

const key = "age";

const person = {name: "John", age: 30};

console.log(person[key]);

]]>
More questions like this

Want instant access to all verified answers on moodle.ncst.edu.bh?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome