Attio interview question

1. How does event loop work in JavaScript? 2. JavaScript function scopes 3. Garbage collection