How can you access age property of the person object? Select all correct options.
Explanation
There are two ways to access object properties in JavaScript: objectName.propertyName or objectName['propertyName'] similar to objectName["propertyName"]

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback