How to use the Optional chaining operator(?.) in JavaScript

How to use the Optional chaining operator(?.) in JavaScript