- APIs: this will be dependent on the environment. For example, browsers provide
setTimeout, etc. Node.js provides
buffer, etc. Electron provides
- Event loop: simulates concurrency when combined with other APIs (e.g.,
XMLHttpRequest) and the callback queue.
- Callback queue: list of callbacks waiting to be added to the call stack.