optional-chaining operator code example Example: optional-chaining operator if (user?.team?.subscription?.invoices) { // }