javascript object property + multilevel + optional chaining

JavaScript
obj?.prop?.prop
obj?.[expr]?.prop
arr?.[index]?.prop

If a function named 'func' exists or not
obj?.func
If a property named 'func' is a function
obj?.func?.(args)

Source

Also in JavaScript: