JavaScript Object Properties

There are two different ways to access an object property:

You can use .property or ["property"].