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
Example use of the spread operator in JavaScript
You can use the spread operator in JavaScript to get back an array of results instead of a RegExpStringIterator object.