I appreciate the response but I'm not talking about the ternary operator.
I'm talking about
let test = obj?.prop1?.prop2;
Allowing deep property checks automatically returning undefined if anything in the chain is undefined instead of checking each item in an if statement