Understanding JavaScript Event Loop, Call Stack, Microtasks & Macrotasks — Step by Step

One of the most confusing topics in JavaScript is: