Asynchronous tasks need proper management. For that, the ECMA standard specifies an internal queue PromiseJobs, more often referred to as the "microtask queue" (V8 term). As stated in the ...
What is the Microtask Queue? The Microtask Queue is a queue that holds microtasks, which are tasks that need to be executed immediately after the current task finishes but before any macrotasks or ...