console.log(flower.species?.lily) // undefined
let flowers = ['lily', 'daisy', 'rose']
console.log(flowers[1]) // daisy
flowers = null
console.log(flowers[1]) // TypeError: Cannot read property '1' of null
console.log(flowers?.[1]) // undefined