JS

Objects in JavaScript - Accessing object propertie...

26.

How can you access the value of a property in an object in JavaScript?

By using dot notation, like objectName.propertyName.

By using square bracket notation with the property name as a string, like objectName['propertyName'].

By using the keyword "access" followed by the property name, like objectName.access['propertyName'].

By using the keyword "get" followed by the property name, like objectName.get['propertyName'].