Which mechanism ensures that a browser-side microtask queue is fully processed before the next rendering update?

Select the correct answer: Single Choice

Key points

  • Microtasks execute after the current task.
  • The rendering step occurs after the microtask queue is empty.
  • Promises are a primary source of microtasks.

Ready to go further?