Whenever you're ready, walk me through how you'd approach this.
Explain how the JavaScript event loop works, and how you use closures and data structures to solve frontend problems.