TD interview question

Optional chaining