How to Use JavaScript Optional Chaining With Array?

Using optional chaining with JavaScript arrays