How to use optional chaining with array or functions? How to use optional chaining with array or functions? arrays arrays