When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.
webtips.dev
Optional chaining in JavaScript
Optional chaining lets you access deeply nested properties without having to explicitly check each object for its existence. Instead of getting the famous “cannot read property of undefined” error message, the expression short circuits with undefined. For full browser support, check the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#Browser_compatibility