# Dot Access and Method Calls Dot notation accesses properties and methods on objects. ## Property Access ```ts const user = { name: 'Mathias', age: 30 }; console.log(user.name); // 'Mathias' ``` ## Method Call ```ts const text = 'hello'; console.log(text.toUpperCase()); // 'HELLO' ``` In your code: ```ts backendPeriodLabelFormatter.formatToParts(date) ``` - `backendPeriodLabelFormatter` is an object. - `formatToParts` is a method. - `(date)` passes the argument. ## Python Comparison Equivalent idea to `obj.attr` and `obj.method(arg)`.