Optional chaining uses ? to access a property or invoke a method only when the preceding value is neither null nor undefined; otherwise, it yields undefined. It avoids repeating explicit null and undefined guards. section 3.4.7
Formatting a nullable number
A nullable count can be formatted directly: `let count: number | undefined | null = 100; let result: string | undefined = count?.toFixed(2);`. With count set to 100, the result is `100.00`; with a nullish count, the expression produces undefined.
