A

Admin • 828.03K Points
Coach

Q. Which has higher priority in JavaScript event loop?

  • (A) microtasks
  • (B) macrotasks
  • (C) DOM events
  • (D) Timers
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
Microtasks like Promise callbacks are executed before macrotasks.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.