Create a function accessObjectProperty that defines an object with `name` and logs the value using dot notation.

Output: