Skip to content

Using optional chaining operator for object property access

const value = foo?.[0]?.bar