JavaScript | JavaScript Objects | Question 2

Last Updated :
Discuss
Comments

How do you access the property of an object using bracket notation?

obj.key

obj["key"]

obj(key)

obj->key

Share your thoughts in the comments