Adds a new method, queueMicrotask() that allows direct queueing of a callback to run as a microtask. Microtasks are callbacks that run just before the current task ends. Current examples are callbacks for promises that resolve immediately. This method is available on the window and worker objects. See the explainer: https://github.com/fergald/docs/blob/master/explainers/queueMicrotask.md
Docs: https://github.com/whatwg/html/issues/512 https://github.com/fergald/docs/blob/master/explainers/queueMicrotask.md