массив Chaing в JS

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