Skip to content

Commit

Permalink
closes #1747
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakan committed Feb 12, 2020
1 parent ff82a9b commit db9b580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2-ui/99-ui-misc/03-event-loop/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ What's going to be the order here?
2. `promise` shows second, because `.then` passes through the microtask queue, and runs after the current code.
3. `timeout` shows last, because it's a macrotask.

The richer event loop picture looks like this:
The richer event loop picture looks like this (order is from bottom to top, that is: `setTimeout` first, then microtasks and so on):

![](eventLoop-full.svg)

Expand Down

0 comments on commit db9b580

Please sign in to comment.