Slide 12
Slide 12 text
How it works
• Use the operator ?.
• checks if the Left-Hand-Side of it is not null or undefined
• If it is, the expression short-circuits (returns undefined),
else the Right-Hand-Side is evaluated
• Works on properties, arrays and functions