Maciej Bednarczyk
  • About
  • Blog
  • enpl

JavaScript

  • All posts
  • CSS 1
  • Cybersecurity 3
  • Debugging 1
  • JavaScript 2
  • Next JS 3
  • Project management 1
  • React 2
  • Snippets 1
  • TypeScript 1
  • Web Performance 1
  • Web development 3
  • Workspace Setup 1

Latest - JavaScript

The JavaScript Event Loop, Step by Step

Why does setTimeout(fn, 0) run after a Promise, and why does code after await come back later? Step through the call stack, the microtask queue and the macrotask queue one line at a time, and guess the output before you look.

November 8, 2026 - 6 min

02

My Go-To Quick Debugging Trick: Freezing the Page with setTimeout and debugger

December 30, 2023 - 1 min

Maciej Bednarczyk© 2026
  • About
  • Blog
  • Privacy policy
  • LinkedIn
  • Email
  • RSS
  • Powered by cmssy.com