Javascript – Does the JS engine create a new microtask that will execute every handler chained together in a Promise object when resolve is invoked?
I recently encountered this question on Stack Overflow, asking about how the then method really works in JavaScript. The responder, Trincot, made the following comment: The host will check which job queues have entries, giving precedence to job queues with…