Re:How MDN's Autocomplete Search Works
by namanyayg on Tuesday August 03, 2021 @02:01PM
(#28052144)
In the code snippet they show the `startAutocomplete()` function checks for the "started" variable being true; but never actually sets it to true.
[ Parent
| on HN ]
It's pseudo code. The real code is TypeScript React and looks very different and it wouldn't serve the article to take snippets from that code to explain how it works.