Array Chaing in JS

const arr = []
console.log(arr?.[0])
Salo Hopeless