Handle flexible function arguments in TypeScript. Learn how to set default parameter values and use the '?' syntax for optional function parameters.