Skip to content

laszlo-horvath/event-loop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Homework Exercise: JavaScript Event Loop

🎯 Objective

Understand how JavaScript's Event Loop handles code execution order.

πŸ“‹ Instructions

  1. Review the code (event-loop.js) without running it
  2. Write down your predicted output
  3. Explain your reasoning for each line's execution order
  4. Finally, run the code to check your understanding

πŸ€” Before You Run

Consider:

  • How does the Event Loop process synchronous code?
  • What happens to setTimeout callbacks?
  • How are Promises handled?

πŸŽ“ Learning Goals

  • Master JavaScript's execution context
  • Understand macro and micro tasks
  • Learn call stack and callback queue interaction

Good luck! πŸš€

About

Homework exercise for JavaScript Event Loop

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published